Lazy Loading - sravanthimendu98/angular GitHub Wiki
Lazy loading allows you to load JavaScript components when a specific route is activated. It improves application load time speed by splitting the application into many bundles. When the user navigates by the app, bundles are loaded as needed.
Lazy loading helps to keep the bundle size small, which helps reduce load times.
Lazy loaded routes need to be outside of the root app module. You will want to have your lazy loaded features in feature modules.