title: i try to add value array in array using push(),but i dont know how to add it
body: <p>this mycode, I try to value in company1 staff, but it create a new list of array. can someone help me?</p>
  
  <p>after I add the name and id of staff the array  will look like this</p>
  
  <blockquote>
    <p>[{companyName: "company1",companyAddress: "company address",staff:
    [{name:"men",id: "123"},{name:"boy",id: "1343"},{name:"john",id:
    "145"}]}]</p>
  </blockquote>
  
  <pre><code>&lt;div ng-controller="MyCtrl"&gt;
      &lt;input type="text" ng-model="nameStaff" /&gt;
      &lt;input type="text" ng-model="idStaff" /&gt;
      &lt;button ng-click=addDetail()&gt;add&lt;/button&gt;
      {{form}}
  &lt;/div&gt;
  
  var myApp = angular.module('myApp', []);
  
  function MyCtrl($scope) {
      $scope.form = [{ companyName: "company1", companyAddress: "company address", staff: [{ name: "men", id: "123" }] }];
      $scope.addDetail = function() {
          $scope.form.push({ staff: [{ name: $scope.nameStaff, id: $scope.idStaff }] });
      }
  }
  </code></pre>