import { NgModule } from '@angular/core' ; import { Routes , RouterModule } from '@angular/router' ; import { DebugComponent } from './debug.component' ; const routes = [ { path : '' , pathMatch : 'full' , data : { breadcrumb : 'Info' } , component : DebugComponent } ] ; @ NgModule ( { imports : [ RouterModule . forChild ( routes ) ] , exports : [ RouterModule ] } ) export class DebugRoutingModule { }