Ionic-3 Disable loading controller for background APIs

Currently I am creating and dismissing the loader in the interceptor with which, loader will be displayed on each request hit and after getting the response loader will be dismiss.

Now I want that loader should not be displayed for those request that need to be run in the background. For that I have created a list of those request and check if the endPoint is exist in the cloneRequest.url using indexOf method then loader will not be displayed.

This is working fine but I am looking for more scalable sloution.