/
merchello.module.js
36 lines (31 loc) · 1.09 KB
/
merchello.module.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Bootstrap the Merchello angular module
(function() {
angular.module('merchello', [
'umbraco.filters',
'umbraco.directives',
'umbraco.services',
'merchello.filters',
'merchello.directives',
'merchello.plugins',
'merchello.resources',
'merchello.services'
]);
angular.module('merchello.models', []);
angular.module('merchello.filters', []);
angular.module('merchello.directives', []);
angular.module('merchello.resources', ['merchello.models']);
angular.module('merchello.services', ['merchello.models']);
angular.module('merchello.plugins', ['chart.js']);
//// Assert our dependencies
angular.module('umbraco.packages').requires.push('merchello');
}());
// LEGACY NAMESPACES - THESE SHOULD NO LONGER BY USED
(function (merchello, undefined) {
// Global namespaces defined
merchello.Models = {};
merchello.Controllers = {};
merchello.Directives = {};
merchello.Filters = {};
merchello.Services = {};
merchello.Helpers = {};
}(window.merchello = window.merchello || {}));