How to Create Lazy Loading in Angular 4
Why do we need Lazy Loading in Angular 4?
Usually, Angular will load all components while starting the application (page). As you can see, all the declarations and imports are in app.module.ts file. This file will load all imported components and injected providers during the first page load.