<li ng-repeat="Item in Items">
<div ng-switch="($index)==0">
<div ng-switch-when="true">
<a href="#">< Previous</a>
</div>
<div ng-switch-when="false">
<a href="#">{{$index}}</a>
</div>
</div>
</li>
I want to get the number of Items items and want to show "Next>" for the last item
source
share