blob: b7ac69b535e909ce326883460a0e18277306b7f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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 {}
|