We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f27189 commit 2eacdecCopy full SHA for 2eacdec
README.md
@@ -80,12 +80,13 @@ import { ApplicationConfig, importProvidersFrom } from '@angular/core';
80
import { provideRouter } from '@angular/router';
81
import { NgHttpLoaderModule } from 'ng-http-loader';
82
import { routes } from './app.routes';
83
-import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
+import { provideHttpClient, withInterceptors } from '@angular/common/http';
84
+import { pendingRequestsInterceptor$ } from 'ng-http-loader';
85
86
export const appConfig: ApplicationConfig = {
87
providers: [
88
provideRouter(routes),
- withInterceptors([pendingRequestsInterceptor$])
89
+ provideHttpClient(withInterceptors([pendingRequestsInterceptor$])),
90
],
91
};
92
```
0 commit comments