What is Lazy Loading?

Why need lazy loading?

Normally, Angular will load all the components when starting up the application, as you can see in the app.module.ts all components are imported and put them all in the declarations array, this is will tell Angular that ‘Please load all of this components in the declarations array when starting up the application’.  Continue reading