title: Perform simple arithmetic on ng-repeat items and update the controller
body: <p>I am new to angular and will appreciate your help
  I need help with the following :
  1. I have the following code </p>
  
  <pre><code>&lt;tr ng-repeat="user in page "&gt;
                  &lt;td class="tdContactsCentered"&gt;{{user.name}}&lt;input type="hidden" name="cid" value="{{user.id}}" /&gt;&lt;/td&gt;
                  &lt;td class="tdContactsCentered" &gt;{{user.accountNumber}}&lt;/td&gt;
                  &lt;td class="tdContactsCentered"&gt;{{user.serialNumber}}&lt;/td&gt;
                  &lt;td class="tdContactsCentered"&gt;&lt;input type="text" ng-model="sdate" class="input-small" /&gt; &lt;/td&gt;
                  &lt;td class="tdContactsCentered"&gt;&lt;div class="input-append"&gt;
                      &lt;input type="text"  ng-model="ads.value"  class="input-small" /&gt;
                  &lt;/div&gt;&lt;/td&gt;
                   &lt;td class="tdContactsCentered"&gt;&lt;div class="input-append"&gt;
                      &lt;input type="text"
                             ng-model ="ads.multipliedByIt"
                             class="input-small"
                             name="expected"
                            /&gt;
                  &lt;/div&gt;&lt;/td&gt;
  </code></pre>
  
  <p>I set sdate value from my controller and its fine</p>
  
  <p>Below is my angular code.</p>
  
  <pre><code>   $scope.ads = {
          value:0,
          multipliedByIt:0
  };
  
  var multipliedByIt = function() {
      $scope.ads.multipliedByIt = $scope.ads.value * $scope.sdate;
  }
  
  
      $scope.$watch('ads.value',multipliedByIt );
  </code></pre>
  
  <p>The issue is, ads.value and ads.multipliedByIt binds to and set same value for all cells/rows in the table, but I want different separate values for the ads.value .</p>
  
  <p>I am not sure I formatted this question appropriate, I hope it is clear enough.</p>
  
  <p>Thank you </p>