Lazy loading is the technique where angular loads the Modules only on a need basis rather than all at once. It is also called on-demand loading. By default, Angular Loads the modules eagerly. Lazy Loading of Angular Modules reduces the initial load time of the app. We use the loadChilden method of the Angular Router to lazy load them when the user navigates to a route. In this article, we will show you how to implement lazy loading
In this Tutorial, we learn how best to organise the folder structure of an Angular Application. Finding the right folder structure for your real life Angular application is very important. As you add more and more features to your App locating the certain component or file becomes messy if you do not have the proper structure in place.
The building blocks of Angular Applications consists of Components, Templates, Directives, Pipes, and Services. We build a lot of such blocks to create the complete application. As the application grows bigger in size managing these blocks become difficult. The Angular Provides a nice way organize these blocks in a simple and effectively using Angular modules (Also known as ngModules).