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', [
|
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 {
|
||||||
|
|
Loading…
Reference in New Issue