blob: b7ac69b535e909ce326883460a0e18277306b7f5 (
plain) (
tree)
|
|
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MetaGuard } from '@ngx-meta/core'
import { SignupComponent } from './signup.component'
const signupRoutes: Routes = [
{
path: 'signup',
component: SignupComponent,
canActivate: [ MetaGuard ],
data: {
meta: {
title: 'Signup'
}
}
}
]
@NgModule({
imports: [ RouterModule.forChild(signupRoutes) ],
exports: [ RouterModule ]
})
export class SignupRoutingModule {}
|