title: anjularjs push value to nested ng-repeat
body: <p>I have an ng-repeat nested within another ng-repeat. I want to push some values to the second array when the button is clicked</p>
  
  <pre><code>&lt;div ng-repeat="vehicle in vehicleList"&gt;
    &lt;div&gt;{{vehicle.number}}&lt;/div&gt;
    &lt;input name="addName" value="add" ng-click="addVehicle(vehicle)"
    &lt;div ng-repeat="categoryList in vehicle.category"&gt;
      &lt;div&gt;{{categoryList.name}}&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>I tried following code but it's not working
  $scope.vehicleList=[];
  
  $scope.addVehicle = function(){
   $scope.vehicleList.push({
     category:'car'
   });
  }
  </code></pre>
  
  <p>Can anyone help me on this. Thanks</p>