title: parseInt not converting multiple string to int
body: <p>it was a very simple but don't no why i can't solve it.</p>
  
  <p>I am trying to convert string to integer from json, it converts 1st object but from second object it doesn't:</p>
  
  <p>HTML: </p>
  
  <pre><code>&lt;body ng-controller="myApp"&gt;
    &lt;ul ng-repeat="vals in json_arr" ng-init="parseId(vals)"&gt;
      &lt;li&gt;
        &lt;input type="number" ng-model="vals.id" /&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;input type="number" ng-model="vals.id1" /&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;input type="number" ng-model="vals.id2" /&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>app.controller('myApp', function($scope) {
    $scope.json_arr = [{
      'id': '1',
      'id1': '2',
      'id2': '3'
    }];
  
    $scope.parseId = function(val) {
      val.id = parseInt(val.id);
    }
  });
  </code></pre>
  
  <p><a href="http://plnkr.co/edit/DtSGcQfAyi85YjgOdmaK?p=preview" rel="nofollow">DEMO PLUNKER</a></p>