I\'m trying to display the ng4-loading-spinner spinner for HTTP calls made to my API.
ng4-loading-spinner
I based my code on the examples in the following links:
The issue was the ApiService was using the Http from @angular/http instead of HttpClient from @angular/common/http.
ApiService
Http
@angular/http
HttpClient
@angular/common/http
So the ApiInterceptor has nothing to intercept.
ApiInterceptor