i have just started to learn angular4, and i am a little curious to learn the concept of lazy loading in angular4. i have been going through this article and learned a little on lazy loading, but my question is in this article which i have mentioned above, there is only one component in the lazy module, what if i want more than one component in the lazy loading module, then how could i declare that in the route config of the lazy loading module. currently the route config for the lazy loading is
const routes: Routes = [ { path: '', component: LazyComponent } ];
what if i want another component, then how would be my route config?
<lazy-component> <nested-component></nested-component> </lazy-component>