Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created August 18, 2018 22:33
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 gdyrrahitis/67d0e0fc860eef367b468d25f25aaef0 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/67d0e0fc860eef367b468d25f25aaef0 to your computer and use it in GitHub Desktop.
// omitted imports for brevity
@NgModule({
declarations: [
// declarations imports for brevity
],
imports: [
// omitted imports for brevity
],
providers: [
{
provide: HTTP_INTERCEPTORS,
useClass: AuthInterceptor,
multi: true
},
// omitted rest of providers for brevity
],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment