import { NgModule } from '@angular/core' ; import { Routes , RouterModule } from '@angular/router' ; import { TablesModule } from './tables.module' ; import * as tablesContainers from './containers' ; import * as tablesGuards from './guards' ; import { SBRouteData } from '@modules/navigation/models' ; export const ROUTES = [ { path : '' , canActivate : [ ] , component : tablesContainers . TablesComponent , data : { title : 'Tables - SB Admin Angular' , breadcrumbs : [ { text : 'Dashboard' , link : '/dashboard' , } , { text : 'Tables' , active : true , } , ] , } as SBRouteData , } , ] ; @ NgModule ( { imports : [ TablesModule , RouterModule . forChild ( ROUTES ) ] , exports : [ RouterModule ] , } ) export class TablesRoutingModule { }