title: ng-repeat passing index value to a function
body: <p>I need to pass a $index value of a specific  element, added with ng-repeat, to a javascript function.
  My code sample:</p>
  
  <pre><code>&lt;tr ng-repeat="cells in CouponsList.CellPhones"&gt;
  &lt;td&gt;&lt;button  ng-click="doStuff($index+1)"&gt;{{cells.localVendorAddress}}&lt;/button&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Now I am adding several buttons and when a specific button is pressed I need to send it's specific $index to the doStuff($index) function.
  Any idea?</p>