/** Angular Imports */ import { Route as ngRoute , Routes } from '@angular/router' ; /** Custom Components */ import { ShellComponent } from '../shell/shell.component' ; /** Custom Guards */ import { AuthenticationGuard } from '../authentication/authentication.guard' ; /**
 * Provides helper methods to create routes.
 */ export class Route { param routes return { Route } static withShell ( routes ) { return { path : '' , component : ShellComponent , children : routes , canActivate : [ AuthenticationGuard ] , data : { reuse : true } } ; } }