I have array like this:
$scope.first = [ [ [ "a", "b", "c" ], [ "d", "e", "f" ] ], [ [ "g", "h", "i" ], [ "g", "k", "l" ] ], [ [ "m", "n", "o" ], [ "p", "q", "r" ] ], [ [ "s", "t", "w" ], [ "x", "y", "z" ] ] ];
I have nested ng-repeat like this:
<div ng-repeat="seconds in first">
<div ng-repeat="thirds seconds">
<div ng-repeat="item in thirds">
<span>{{item}}</span>
</div>
</div>
</div>
and I want to display
1-a
2-b
3-c
4-d
5-f
........
25-y
I really appreciate your sure help.
jsonto add also the index for each letter?!secondandthirdarray?