Reputation: 8126
I want to make an application that uses AngularJS new router. I decided to wrap every component to a new module and lazily load the component (module, controller and template) with ocLazyLoad when user changed the route to that component. I think I have to load module with ocLazyLoad but don't know where to write this code!
Upvotes: 1
Views: 337