title: How to highlight a clicked row in ng-repeat?
body: <p>I have tried the other solutions but none of them have worked for me. They usually involve using the 'id' attribute of the rows in ng-repeat rows. But my table looks something like this.`</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr class="serviceRows" ng-repeat="(key, value) in serviceNameAndStatus | custom:search track by $index"&gt;
          &lt;td&gt; {{key}} &lt;/td&gt;
          &lt;td&gt; {{value.status}} &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I am not able to use the id property. I need an alternative way to highlight the clicked row in the table. </p>