docs: fix lazy-loading example (#20306)

PR Close #20306
This commit is contained in:
Kapunahele Wong 2018-01-10 16:30:09 -05:00 committed by Alex Eagle
parent f82013f956
commit 456f57dde8
1 changed files with 2 additions and 2 deletions

View File

@ -8,11 +8,11 @@ import { Routes, RouterModule } from '@angular/router';
const routes: Routes = [
{
path: 'customers',
loadChildren: './app/customers/customers.module#CustomersModule'
loadChildren: 'app/customers/customers.module#CustomersModule'
},
{
path: 'orders',
loadChildren: './app/orders/orders.module#OrdersModule'
loadChildren: 'app/orders/orders.module#OrdersModule'
},
{
path: '',