Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / angular-smart-table / src / smart-table.module.js
diff --git a/ecomp-portal-FE/client/bower_components/angular-smart-table/src/smart-table.module.js b/ecomp-portal-FE/client/bower_components/angular-smart-table/src/smart-table.module.js
new file mode 100644 (file)
index 0000000..6e8eaf5
--- /dev/null
@@ -0,0 +1,7 @@
+ng.module('smart-table', []).run(['$templateCache', function ($templateCache) {
+    $templateCache.put('template/smart-table/pagination.html',
+        '<nav ng-if="numPages && pages.length >= 2"><ul class="pagination">' +
+        '<li ng-repeat="page in pages" ng-class="{active: page==currentPage}"><a href="javascript: void(0);" ng-click="selectPage(page)">{{page}}</a></li>' +
+        '</ul></nav>');
+}]);
+