I am having trouble setting up the Angular / bootstrap for my app
I am following this page's pagination intro.
http://angular-ui.github.io/bootstrap/
My app.js
angular.module('myApp', ['ngRoute','ui.bootstrap']).
config(['$routeProvider', function($routeProvider) {
….
}]);
controller.js
angular.module('myApp', ['ngRoute']).
controller('PaginationCtrl',['$scope', function ($scope) {
$scope.totalItems = 64;
$scope.currentPage = 4;
$scope.maxSize = 5;
$scope.setPage = function (pageNo) {
$scope.currentPage = pageNo;
};
$scope.bigTotalItems = 175;
$scope.bigCurrentPage = 1;
}])
html
<div id='pagination-wrapper' ng-controller='PaginationCtrl'>
<pagination direction-links="false" total-items="totalItems" page="currentPage" num-pages="smallnumPages"></pagination>
</div>
I have no error when I load the page but I can't seem to see the pagination feature. Can anyone help me about it? thanks a lot!