<ul class="pagination mb-2" ng-if="1 < pages.length">
    <li class="page-item" ng-repeat="pageNumber in pages track by $index" ng-class="{ active : pagination.current == pageNumber, disabled : pageNumber == '...' }">
        <a class="page-link" href="" ng-click="setCurrent(pageNumber);$event.preventDefault();">{{ pageNumber }}</a>
    </li>
</ul>
