I currently have a fairly simple table that looks as follows:
<table id="responseGrid">
<tbody>
<tr id="response" data-ng-repeat="response in data.responses">
<td id="Resp Key">{{response.key}}</td>
<td id="Resp Value">{{response.value}}</td>
</tr>
</tbody>
</table>
However, if more than one row is created, then each table column would have the same ID. I want for each table column to have a unique ID based on the row. For instance, I want for the first row to have columns with the ids "Resp Key 1" and "Resp Value 1", then the next row would have columns with the ids "Resp Key 2" and "Resp Value 2", and so on.
Is there some way to do that in Angular JS? I tried looking for some sort of way of getting the index of the response that I am on, but that doesn't seem to work. Also, I can't figure out a way to concatenate an ID (although that may be more of an HTML issue). Any help is appreciated.