Load pagination directive into the angular app

This commit is contained in:
Kyle Johnson 2014-12-29 12:15:51 -05:00
parent 4b029fc2ae
commit 07e04ea9ff
1 changed files with 5 additions and 1 deletions

View File

@ -1,12 +1,16 @@
var ZoneMinder = angular.module('ZoneMinder', [ var ZoneMinder = angular.module('ZoneMinder', [
'ZoneMinderControllers', 'ZoneMinderControllers',
'tc.chartjs', 'tc.chartjs',
'ui.bootstrap' 'ui.bootstrap',
'angularUtils.directives.dirPagination'
]); ]);
ZoneMinder.config(['$locationProvider', function($locationProvider){ ZoneMinder.config(['$locationProvider', function($locationProvider){
$locationProvider.html5Mode(true); $locationProvider.html5Mode(true);
}]); }]);
ZoneMinder.config(function(paginationTemplateProvider) {
paginationTemplateProvider.setPath('skins/bootstrap/js/dirPagination.tpl.html');
});
ZoneMinder.factory('Monitor', function($http) { ZoneMinder.factory('Monitor', function($http) {
return { return {