Angular

Angular Preloading Strategy

Angular Preloading Strategy is yet another way to speed up the load time of the Angular Apps. We build Modular apps using the Angular Modules. The Angular loads all the modules, when the user requests for the first time. This will make app loading slowly as it need to download all the modules. We can solve this problem by lazy loading those modules. The Angular allows us further optimize our app using a technique called PreLoading. In this article let us explore what is Preloader is. We will also learn to use the built in Preloading strategies like NoPreloading & PreloadAllModules. Later, we will look how to build a custom Preloading strategy so as to fully control what gets lazy loaded and what gets Preloaded.

Angular Preloading Strategy Read More »

Angular HTTP Error Handling

In this guide we learn about Angular HTTP Error Handling. We use HTTP Interceptor to catch the HTTP Errors. The HTTP Interceptors catches all the error arising out of the HTTP Requests using the catchError operator. You can then properly handle the error or re throw it back to the subscriber using the throwError operator.

Angular HTTP Error Handling Read More »

Angular Component Styles

In this tutorial we look at various ways by which we can style our Angular components. We looked at how to apply global styles to the Angular app. You can apply styles to components in various ways. For example, using inline style, using external style, using template inline style, using ngClass directive, ngStyle directive etc. We cover all these in this article on Angular Component styles

Angular Component Styles Read More »

Scroll to Top