aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_gui/static/app/policy/policy.controller.list.js
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4/moon_gui/static/app/policy/policy.controller.list.js')
-rw-r--r--moonv4/moon_gui/static/app/policy/policy.controller.list.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/moonv4/moon_gui/static/app/policy/policy.controller.list.js b/moonv4/moon_gui/static/app/policy/policy.controller.list.js
index dc2db2cc..fc2c6503 100644
--- a/moonv4/moon_gui/static/app/policy/policy.controller.list.js
+++ b/moonv4/moon_gui/static/app/policy/policy.controller.list.js
@@ -6,9 +6,9 @@
.module('moon')
.controller('PolicyListController', PolicyListController);
- PolicyListController.$inject = ['$scope', 'policies', 'ngTableParams', '$filter', '$modal', '$rootScope'];
+ PolicyListController.$inject = ['$scope', 'policies', 'NgTableParams', '$filter', '$modal', '$rootScope'];
- function PolicyListController($scope, policies, ngTableParams, $filter, $modal, $rootScope) {
+ function PolicyListController($scope, policies, NgTableParams, $filter, $modal, $rootScope) {
var list = this;
@@ -69,7 +69,7 @@
function newPoliciesTable() {
- list.table = new ngTableParams({
+ list.table = new NgTableParams({
page: 1, // show first page
count: 10, // count per page