title: Updating input values filled out by ng-repeat | Angular js
body: <p>I have to update the value of multiple Inputs using ng-repeat. i usually get the  value with JQuery $(class/id).val() and get its value. but now i have no idea how to access the input values since i only have one id for each. (i have like 20 input in the table)</p>
  
  <p>View:</p>
  
  <pre><code>&lt;tr ng-repeat="i in list"&gt;
  
          &lt;td&gt;&lt;input list="itemNames" class="item_name" ng-model="i.item_name" value="{{i.item_name}}" type="text"/&gt;&lt;/td&gt;
  
          &lt;datalist id="itemNames"&gt;
             &lt;option ng-repeat="ii in list" class="idI" ng-model="ii.idI"  data-item="{{ii.idI}}" value="{{ii.item_name}} {{ii.idI}}"&gt;
          &lt;/datalist&gt;
  
          &lt;td&gt;&lt;input class="quantity" ng-model="i.quantity" value="{{i.quantity}}"  type="number"/&gt;&lt;/td&gt;
  
          &lt;td&gt;&lt;input class="price" ng-model="i.price" value="{{i.price}}" type="number"/&gt;&lt;/td&gt;
      &lt;tr&gt;
          &lt;td ng-click="updateAll()"&gt;UPDATE&lt;/td&gt;
      &lt;/tr&gt;
  
  &lt;/tr&gt;
  </code></pre>
  
  <p>I expect to store all values in an arrays, but what i got is only values of the first row.</p>
  
  <p>JS:</p>
  
  <pre><code>$scope.updateAll=function(){
      // getting vallues
      var item_name=$(".item_name").val();
      var quantity=$(".quantity").val();
      var price=$(".price").val();
  }
  </code></pre>