From 07e04ea9ffb145e8a98908c5b15f40cac980c37d Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Mon, 29 Dec 2014 12:15:51 -0500 Subject: [PATCH] Load pagination directive into the angular app --- web/skins/bootstrap/js/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/skins/bootstrap/js/app.js b/web/skins/bootstrap/js/app.js index 050cdd23b..26fd2a037 100644 --- a/web/skins/bootstrap/js/app.js +++ b/web/skins/bootstrap/js/app.js @@ -1,12 +1,16 @@ var ZoneMinder = angular.module('ZoneMinder', [ 'ZoneMinderControllers', 'tc.chartjs', - 'ui.bootstrap' + 'ui.bootstrap', + 'angularUtils.directives.dirPagination' ]); ZoneMinder.config(['$locationProvider', function($locationProvider){ $locationProvider.html5Mode(true); }]); +ZoneMinder.config(function(paginationTemplateProvider) { + paginationTemplateProvider.setPath('skins/bootstrap/js/dirPagination.tpl.html'); +}); ZoneMinder.factory('Monitor', function($http) { return {