import { NgModule } from '@angular/core' ; import { RouterModule , Routes } from '@angular/router' ; import { WaveformsComponent } from './waveforms/waveforms.component' ; const waveformRoutes = [ { component : WaveformsComponent , path : '' } ] ; @ NgModule ( { exports : [ RouterModule ] , imports : [ RouterModule . forChild ( waveformRoutes ) ] } ) export class WaveformsRoutingModule { }