import { NgModule } from '@angular/core'; import {RouterModule} from '@angular/router'; import {ContactComponent} from './contact.component'; import {IsRouteEnabled} from "../openaireLibrary/error/isRouteEnabled.guard"; @NgModule({ imports: [ RouterModule.forChild([ { path: '', component: ContactComponent, canActivate: []} ]) ] }) export class ContactRoutingModule { }