Skip to content

Instantly share code, notes, and snippets.

@rpinna
Last active September 22, 2018 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpinna/6e113fb84d78870562844ff3ec84c826 to your computer and use it in GitHub Desktop.
Save rpinna/6e113fb84d78870562844ff3ec84c826 to your computer and use it in GitHub Desktop.
@NgModule({
imports: [
BrowserModule,
...
],
declarations: [ AppComponent ],
providers: [
{ provide: HTTP_INTERCEPTORS, useClass: LoggingHttpInterceptor, multi: true },
{ provide: HTTP_INTERCEPTORS, useClass: IronHttpInterceptor, multi: true }
],
bootstrap: [ AppComponent ]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment