title: AngularJS : How to concat two arrays?
body: <p>I have following arrays with values (i am generating the values on go) </p>
  
  <pre><code>$scope.objectName = [{ Name: '' }];
  $scope.propertiesElement = [{ Key: '', Value: '' }];
  </code></pre>
  
  <p>I want to concatenate these two objects to get the following result</p>
  
  <pre><code>[{Name:''},{ Key: '', Value: '' }]
  </code></pre>
  
  <p>Plunker <a href="http://plnkr.co/edit/67xxL7yQv88wMYZSvwhY?p=preview" rel="nofollow">link</a> , somehow that's not working either</p>
  
  <p>when I click on the add row button it will add another row for key and value text boxes only not for name, I can add n no of rows and when I click on Submit it should show the kev value pair as</p>
  
  <pre><code>[{Name:''},{ Key: '', Value: '' },{ Key: '', Value: '' },{ Key: '', Value: '' }.....so on]
  </code></pre>
  
  <p>Thanks</p>