diff --git a/src/app/api/api.module.js b/src/app/api/api.module.js new file mode 100644 index 0000000000..e7f5d50bd9 --- /dev/null +++ b/src/app/api/api.module.js @@ -0,0 +1,7 @@ +(function () { + 'use strict'; + + angular + .module('app.api', []); + +})(); diff --git a/src/app/app.directive.js b/src/app/app.directive.js deleted file mode 100644 index 52ce7f6c41..0000000000 --- a/src/app/app.directive.js +++ /dev/null @@ -1,16 +0,0 @@ -(function () { - 'use strict'; - - angular - .module('app') - .directive('app', app); - - app.$inject = ['app.basePath']; - - function app(basePath) { - return { - templateUrl: basePath + 'app.html' - }; - } - -})(); diff --git a/src/app/app.module.js b/src/app/app.module.js index 2f73fab126..a5b66a166f 100644 --- a/src/app/app.module.js +++ b/src/app/app.module.js @@ -2,7 +2,12 @@ 'use strict'; angular - .module('app', []) + .module('app', [ + 'app.api', + 'app.event', + 'app.model', + 'app.view' + ]) .constant('app.basePath', 'app/'); })(); diff --git a/src/app/event/event.module.js b/src/app/event/event.module.js new file mode 100644 index 0000000000..9b690a90fc --- /dev/null +++ b/src/app/event/event.module.js @@ -0,0 +1,7 @@ +(function () { + 'use strict'; + + angular + .module('app.event', []); + +})(); diff --git a/src/app/model/model.module.js b/src/app/model/model.module.js new file mode 100644 index 0000000000..4223c98f10 --- /dev/null +++ b/src/app/model/model.module.js @@ -0,0 +1,7 @@ +(function () { + 'use strict'; + + angular + .module('app.model', []); + +})(); diff --git a/src/app/view/view.module.js b/src/app/view/view.module.js new file mode 100644 index 0000000000..1f2112ba98 --- /dev/null +++ b/src/app/view/view.module.js @@ -0,0 +1,7 @@ +(function () { + 'use strict'; + + angular + .module('app.view', []); + +})(); diff --git a/src/index.html b/src/index.html index 2cb40b1f6b..956175408d 100644 --- a/src/index.html +++ b/src/index.html @@ -9,6 +9,6 @@ - +