App.namespace in module template should come before the inject:folders tags
jskrzypek opened this issue · comments
https://github.com/mcfly-io/generator-mcfly/blob/master/templates/module/index.js#L22
this:
var app = angular.module(fullname, ['ui.router', <%- ngModules %>]);
// inject:folders start
// inject:folders end
app.namespace = app.namespace || {};
should be this:
var app = angular.module(fullname, ['ui.router', <%- ngModules %>]);
app.namespace = app.namespace || {};
// inject:folders start
// inject:folders end