import { NgModule } from '@angular/core' ; import { Routes , RouterModule } from '@angular/router' ; import { marker } from '@biesbjerg/ngx-translate-extract-marker' ; import { Shell } from '@app/shell/shell.service' ; import { AboutComponent } from './about.component' ; const routes = [ Shell . childRoutes ( [ { path : 'about' , component : AboutComponent , data : { title : marker ( 'About' ) } } ] ) ] ; @ NgModule ( { imports : [ RouterModule . forChild ( routes ) ] , exports : [ RouterModule ] , providers : [ ] } ) export class AboutRoutingModule { }