title: How to sum a dynamic text box value inside ng-repeat
body: <p>I am creating a dynamic form fields in which there is only one input type number field inside the ng-repeat, user can add any number of fields by clicking add button, now I need to calculate the sum of values entered in dynamic number field and update in a text box, below I paste my code for your reference, help me to resolve</p>
  
  <pre><code>      &lt;fieldset ng-repeat="field in table.fields track by $index" &gt;
  
   &lt;input type="number" ng-model="table.fields[$index].item_count" class="form-control" name="item_count" ng-pattern="/^[0-9]/" placeholder="Category Item View Count" required&gt;
  
    &lt;button ng-click="removeChoice()" class="remove btn btn-danger" &gt;close&lt;/button&gt;
       &lt;/fieldset&gt;
  
  
        &lt;button class="addfields btn btn-success" ng-click="addFormField()" ng-disabled="!frm.cat_name.$dirty||!frm.cat_desc.$dirty||frm.cat_desc.$invalid||frm.cat_name.$inavalid"&gt;Add fields&lt;/button&gt;
  </code></pre>