Skip to content

Commit

Permalink
fix #406
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzofox3 committed Jun 12, 2015
1 parent fd645c4 commit 7f8911a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smart-table.module.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ng.module('smart-table', []).run(['$templateCache', function ($templateCache) {
$templateCache.put('template/smart-table/pagination.html',
'<nav ng-if="pages.length >= 2"><ul class="pagination">' +
'<nav ng-if="numPages && pages.length >= 2"><ul class="pagination">' +
'<li ng-repeat="page in pages" ng-class="{active: page==currentPage}"><a ng-click="selectPage(page)">{{page}}</a></li>' +
'</ul></nav>');
}]);
Expand Down

0 comments on commit 7f8911a

Please sign in to comment.