I am working on an existing Angular application. The version is Angular 4.
The application makes HTTP calls to a REST API from lot of various components.
I w
Angular Interceptors can be used in a number of ways as they work pretty well in manipulating and managing HTTP calls to communicate that we make from a client-side web application. We can create an utility for showing Mouse Loader using Interceptor.
Please go through the below post for the implementation of LoaderInterceptor
:-
Show Loader/Spinner On HTTP Request In Angular using Interceptor