I dont get how to change styles and default text here. Here`s html:
<pagination total-items="totalItems" ng-model="currentPage" max-size="maxSize" class="pagination-sm" boundary-links="true" rotate="false" num-pages="numPages" items-per-page="itemsPerPage"></pagination>
Here`s JS:
$scope.totalItems = $scope.data.length;
$scope.totalItems = $scope.data.length;
$scope.currentPage = 4;
$scope.itemsPerPage = $scope.viewby;
$scope.maxSize = 5;
For changing the color you can use the CSS.
CSS:
ul.pagination li > a { color: red !important; }
For changing the text you can use the attributes of UI-Bootstrap.
HTML:
<pagination first-text="Hello" previous-text="World" next-text="Good"
last-text="Day!" total-items="totalItems" ng-model="currentPage" max-size="maxSize" class="pagination-sm" boundary-links="true" rotate="false" num-pages="numPages" items-per-page="itemsPerPage"></pagination>