File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { WelcomeComponent } from './home/welcome.component';
10
10
import { ProductModule } from './products/product.module' ;
11
11
12
12
@NgModule ( {
13
- imports : [
13
+ imports : [
14
14
BrowserModule ,
15
15
HttpModule ,
16
16
appRoutingModule ,
@@ -19,4 +19,4 @@ import { ProductModule } from './products/product.module';
19
19
declarations : [ AppComponent , WelcomeComponent ] ,
20
20
bootstrap : [ AppComponent ]
21
21
} )
22
- export class AppModule { }
22
+ export class AppModule { }
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ const appRoutes: Routes = [
8
8
{ path : 'welcome' , component : WelcomeComponent }
9
9
] ;
10
10
11
- export const appRoutingModule : ModuleWithProviders =
11
+ export const appRoutingModule : ModuleWithProviders =
12
12
RouterModule . forRoot ( appRoutes ) ;
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ export const productRoutes: Routes = [
9
9
{ path : 'product/:id' , component : ProductDetailComponent }
10
10
] ;
11
11
12
- export const productRoutingModule : ModuleWithProviders = RouterModule . forChild ( productRoutes ) ;
12
+ export const productRoutingModule : ModuleWithProviders =
13
+ RouterModule . forChild ( productRoutes ) ;
You can’t perform that action at this time.
0 commit comments