I have to show items from my list (there can be 100 items or 20 items), and I want to limit them to 10 per page. How can I do it?
This is my code (I have some drag/drop , ignore that)
<div class="unallocated-box" style="top:10px;"
ng-repeat="item in list2 | orderBy : 'title'" data-drop="true" ng-model='list2'
jqyoui-droppable="{index: {{$index}}, applyFilter: 'filterIt'}"
ng-show="item.FirstName">
<div data-drag="true" data-jqyoui-options="{revert: 'invalid'}" ng-model="list2"
jqyoui-draggable="{index: {{$index}},animate:true, applyFilter: 'filterIt'}"
class="seat unallocated-seat">
<div class="sitting-student">{{ item.FirstName }}</div>
</div>
</div>
this is the ng-repeat I want to limit : ng-repeat="item in list2
If someone has an advice, thanks in advance!