forked from marcorinck/ngStart
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.js
28 lines (26 loc) · 1.08 KB
/
main.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
(function (require) {
"use strict";
require.config({
paths: {
'angular': '../../../bower_components/angular/angular',
'angular-route': '../../../bower_components/angular-route/angular-route',
'angular-mocks': '../../../bower_components/angular-mocks/angular-mocks',
'translate': '../../../bower_components/angular-translate/angular-translate',
'translate-static-loader': '../../../bower_components/angular-translate-loader-static-files/angular-translate-loader-static-files',
'translate-handler-log': '../../../bower_components/angular-translate-handler-log/angular-translate-handler-log'
},
shim: {
'angular': { deps: [], exports: 'angular' },
'translate': {deps: ['angular']},
'translate-static-loader': {deps: ['translate']},
'translate-handler-log': {deps: ['translate']},
'angular-route': {deps: ['angular']},
'angular-mocks': {deps: ['angular']}
}
});
require(["config/config"], function (config) {
require(config.standardRequireModules, function (angular) {
angular.bootstrap(document, ["app"]);
});
});
}(require));