Consider the following nested ng-repeat
directives:
<tr ng-repeat="r in SomeExpr1">
<td ng-repeat="c in SomeExpr2">
<p>c index is {{$index}}, r index is {{???}}</p>
</td>
</tr>
How can I access the $index
of the outer ng-repeat
(i.e., the one in the parent scope that is hidden by the inner ng-repeat
scope $index
)?