Open AmsaveniMidhun opened 7 years ago
@gmarziou any updates here ?
From your code
angular
.module('IloadsApp')
I understood that you are not creating the module. You are referring the existing module. The configuration part will be called only once at module creation. Not when module has been got by you. Check like below, the configuration part will be called.
angular
.module('IloadsApp',[])
.config(stateConfig);
In the below code snippet, my js file is getting invoked, but the config part is not being called in app.state.js. Please help me in this,
app.module.js :
(function() { 'use strict';
})();
app.state.js :
(function() {
angular .module('IloadsApp') .config(stateConfig);
stateConfig.$inject = ['$statePsrovider'];
})();