If I have AngularJS HTML that creates a table like this:
<tbody>
<tr data-ng-repeat="row in grid.data">
<td>{{ row.id }}</td>
<td>{{ row.text }}</td>
</tr>
</tbody>
How could I add in functionality so that one click on a row makes just that row highlighted and two clicks calls a function with the row.id? Is there an AngularJS way to do this or would I have to use jQuery? I suspect the only way to do this is with jQuery but feel I should ask as an AngularJS question first.
Thanks