I have more than 10 dependencies and most of them need configurations. That means I need to pass them through angular.config. Since I don't want to load them synchronously in browser, this step can't be achieved. I have looked everywhere but I didn't find anything about ocLazyLoad helping to eliminate this. Event for defining routes in ui.router, you need to load ui-router.js file synchronously.
I have more than 10 dependencies and most of them need configurations. That means I need to pass them through
angular.config
. Since I don't want to load them synchronously in browser, this step can't be achieved. I have looked everywhere but I didn't find anything about ocLazyLoad helping to eliminate this. Event for defining routes inui.router
, you need to loadui-router.js
file synchronously.I was looking for something like this
Please let me know If I am wrong somewhere or we can still achieve this...