I have this 2d array in my controller:
1 2 6
1 2 7 9
2
1 5 3 2 6
I need to show to the user the last element of each row (example: 6, 9, 2, 6) I think I need to use some combination of directive ng-repeat or get the $last index of the array using angular filters.
Here's what I have but doesn't work:
<div ng-repeat="row in array">
{{row[$last].property}}
</div>
Thanks