Created
March 10, 2018 05:56
-
-
Save rahulsahay19/27a4ee2fa3410ca649d5aa867688eeb8 to your computer and use it in GitHub Desktop.
NgModule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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