title: setting id of tr while using ng-repeat
body: <p>I have the following code for generating the table with angularjs dynamically which works fine:</p>
  
  <pre><code>&lt;div  class="col-lg-10 col-sm-10 col-xs-10"&gt;
  
       &lt;table class="table table-hover"&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;item&lt;/th&gt;
      &lt;th&gt;price&lt;/th&gt;
      &lt;th&gt;number&lt;/th&gt;
      &lt;th&gt;edit&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody ng-controller="table"&gt;
  &lt;tr  ng-repeat="x in typesHash "&gt;
     &lt;td&gt;{{x.name}}&lt;/td&gt;
      &lt;td&gt;{{x.price}}&lt;/td&gt;
      &lt;td&gt;{{x.unit}}&lt;/td&gt;
      &lt;td&gt;edit&lt;/td&gt;
  &lt;/tr&gt;
    &lt;tr&gt;
  
    &lt;/tr&gt;
  
  &lt;/tbody&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>and here is js code:</p>
  
  <pre><code>var app=angular.module('app',[]);
  app.controller('table',function($scope){
   $scope.typesHash=[
                   {name : 'lemon', price : 100,unit:2.5 },       
                   {name : 'meat', price : 200,unit:3.3  }];
  
  
     });
  </code></pre>
  
  <p>and here is the code fiddle link which works fine:</p>
  
  <p><a href="http://jsfiddle.net/9av0edLd/1/" rel="nofollow">fiddle</a></p>
  
  <p>now the problem is I want to assume id for tr as follow: id="tr"+x.name
  for example : id="trlemon"
  but I do not know how to set it. If I was producing this table with jquery I could easily do that but now with angularjs seems a little bit tricky can anyone help?</p>