Open Jeevanandanj opened 9 years ago
Hmm no there is nothing like this for now. It's true that sometimes it can get a little complicated to deal with routes that follow each other. But if you use ui-router and nested states it will be managed by the dependency graph (each resolve from the nested states will be called in order): https://github.com/angular-ui/ui-router/wiki/Nested-States-and-Nested-Views
Thanks. But I didn't use nested routings :-(
Started to implement the ocLazyLoad, since it has easy implementation than require js.
But while I start to implement, I had a doubt. There is functionality in requirejs regarding managing dependency. In oclazyload, I don't know how to implement this.
For example,
But I've loaded this AdminTheme in login itself. So We don't need this until page refresh. This admintheme will be vanished from the browser when page refresh.
So I've included them when loading the Dashboard controller.
Note: I may missed to read out any docs. But I've searched for this and I didn't find.