<div>
    <nav class="text-center">
        <ul class="pagination">
            <li ng-class="getDisabledClass(true)"><a href="" ng-click="moveCurrentPage(-1)"><span aria-hidden="true">&laquo;</span><span class="sr-only">Previous</span></a></li>
            <li ng-hide="hidepages" ng-class="getClass($index)" ng-repeat="n in [] | range:numPages()"><a href="" ng-click="setcurrentPage($index)">{{$index+1}}</a></li>
            <li ng-class="getDisabledClass(false)"><a href="" ng-click="moveCurrentPage(1)"><span aria-hidden="true">&raquo;</span><span class="sr-only">Next</span></a></li>
        </ul>
    </nav>
</div>