1*cd789508SIftekharul Islam<ul class="pagination" ng-if="1 < pages.length || !autoHide">
2*cd789508SIftekharul Islam    <li ng-if="boundaryLinks" ng-class="{ disabled : pagination.current == 1 }">
3*cd789508SIftekharul Islam        <a href="" ng-click="setCurrent(1)">First</a>
4*cd789508SIftekharul Islam    </li>
5*cd789508SIftekharul Islam    <li ng-if="directionLinks" ng-class="{ disabled : pagination.current == 1 }">
6*cd789508SIftekharul Islam        <a href="" ng-click="setCurrent(pagination.current - 1)">Previous</a>
7*cd789508SIftekharul Islam    </li>
8*cd789508SIftekharul Islam    <li ng-repeat="pageNumber in pages track by tracker(pageNumber, $index)" ng-class="{ active : pagination.current == pageNumber, disabled : pageNumber == '...' }">
9*cd789508SIftekharul Islam        <a href="" ng-click="setCurrent(pageNumber)">{{ pageNumber }}</a>
10*cd789508SIftekharul Islam    </li>
11*cd789508SIftekharul Islam
12*cd789508SIftekharul Islam    <li ng-if="directionLinks" ng-class="{ disabled : pagination.current == pagination.last }">
13*cd789508SIftekharul Islam        <a href="" ng-click="setCurrent(pagination.current + 1)">Next</a>
14*cd789508SIftekharul Islam    </li>
15*cd789508SIftekharul Islam    <li ng-if="boundaryLinks"  ng-class="{ disabled : pagination.current == pagination.last }">
16*cd789508SIftekharul Islam        <a href="" ng-click="setCurrent(pagination.last)">Last</a>
17*cd789508SIftekharul Islam    </li>
18*cd789508SIftekharul Islam</ul>