I have an array of objects, objects, and a a few JS variables holding static strings, such as static1, static2 ... How can I accomplish the following:
<tr ng-repeat="obj in objects">
<td>{{obj[static1]}}</td>
<td>{{obj[static2]}}</td>
...
</tr>
EDIT: static1 and static2 are JS variables, ie. var static1 = "something"