Skip to content

Instantly share code, notes, and snippets.

@rahulsahay19
Created March 10, 2018 05:56
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 rahulsahay19/27a4ee2fa3410ca649d5aa867688eeb8 to your computer and use it in GitHub Desktop.
Save rahulsahay19/27a4ee2fa3410ca649d5aa867688eeb8 to your computer and use it in GitHub Desktop.
NgModule
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
HttpClientModule
],
providers: [
[ { provide: HTTP_INTERCEPTORS, useClass:
AuthInterceptor, 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