title: Concat $scope variables
body: <p>I have 2 angular variables defined as below:</p>
  
  <pre><code>$scope.a = {
    var1: value1,
    var2: value2
  };
  
  $scope.b = {
    var3: value3,
    var4: value4
  };
  </code></pre>
  
  <p>I am trying to concat <code>var1</code> and <code>var2</code> such that there is <code>$scope.c</code> as defined below:</p>
  
  <pre><code>$scope.c = {
    var1: value1,
    var2: value2,
    var3: value3,
    var4: value4
  };
  </code></pre>
  
  <p>I am doing <code>$scope.a = $scope.b + $scope.c</code> but it is not giving desired result and I  am getting the value <code>"[object Object][object Object]"</code> for <code>$scope.c</code>.</p>