@@ -29,17 +29,19 @@ if (environment.production) {
29
29
}
30
30
31
31
bootstrapApplication ( AppComponent , {
32
- providers : [
33
- importProvidersFrom ( BrowserModule . withServerTransition ( { appId : 'ng-cli-universal' } ) , FormsModule , ModalModule . forRoot ( ) ) ,
34
- { provide : HTTP_INTERCEPTORS , useClass : AuthorizeInterceptor , multi : true } ,
35
- provideHttpClient ( withInterceptorsFromDi ( ) ) ,
36
- provideRouter ( [
37
- { path : '' , component : HomeComponent , pathMatch : 'full' } ,
38
- { path : 'counter' , component : CounterComponent } ,
39
- { path : 'fetch-data' , component : FetchDataComponent } ,
40
- { path : 'todo' , component : TodoComponent }
41
- ] ) ,
42
- provideAnimations ( )
43
- ]
32
+ providers : [
33
+ providers ,
34
+ importProvidersFrom ( BrowserModule . withServerTransition ( { appId : 'ng-cli-universal' } ) , FormsModule , ModalModule . forRoot ( ) ) ,
35
+ { provide : HTTP_INTERCEPTORS , useClass : AuthorizeInterceptor , multi : true } ,
36
+ provideHttpClient ( withInterceptorsFromDi ( ) ) ,
37
+ provideRouter ( [
38
+ { path : '' , component : HomeComponent , pathMatch : 'full' } ,
39
+ { path : 'counter' , component : CounterComponent } ,
40
+ { path : 'fetch-data' , component : FetchDataComponent } ,
41
+ { path : 'todo' , component : TodoComponent }
42
+ ] ) ,
43
+ provideAnimations ( ) ,
44
+
45
+ ]
44
46
} )
45
47
. catch ( err => console . log ( err ) ) ;
0 commit comments