title: Get index of row in table using angularJS
body: <p>I want to get index of each row in this table using angularJS</p>
  
  <pre><code>&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr ng-repeat = "cust in costomers"&gt;
       &lt;td&gt; cust.name &lt;/td&gt;
       &lt;td&gt; cust.phone &lt;/td&gt;
       &lt;td&gt; cust.address &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>
  
  <p>I want to have a variable that contains the index of each row not to just display it</p>