Posted On: Feb 22, 2018
Lazy Loading in Angular 2 is used to delay the loading of an object until it is required by the application.
With lazy loading in Angular, you can split your Angular application into small bundles that can be loaded as required (dynamically). While using it, the Angular router pre-loads the other parts of the application in the background when the user is interacting with the part of the app that is loaded. As in other frameworks, lazy loading has several benefits in angular js such as application loading is fast as there are fewer modules to load initially, on-demand loading of modules and faster navigation experience for the user.
Never Miss an Articles from us.
Angular 2 is a completely revived component-based framework in which an application is a tree of loosely coupled compon..
Angular 2 is a re-written version of Angular1 and not an update. The best way to compare Angular 2 and Angular 1 is by f..
Angular 2 is a platform that encompasses a wide range of capabilities. Some new features were added in Angular 2 which i..