1 import { NgModule } from '@angular/core'
2 import { Routes, RouterModule } from '@angular/router'
4 const routes: Routes = [
7 redirectTo: '/videos/list',
12 loadChildren: './+admin#AdminModule'
17 imports: [ RouterModule.forRoot(routes) ],
18 exports: [ RouterModule ]
20 export class AppRoutingModule {}