import { Route } from '@angular/router' ; export const routes = [ { path : '' , loadChildren : './home/home.module#HomeModule' } , { path : 'products/:productId' , loadChildren : './product/product.module#ProductModule' } ] ;