Load pagination directive into the angular app
This commit is contained in:
parent
4b029fc2ae
commit
07e04ea9ff
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue