src/app/modules/recover-account/recover-account-routing.module.ts
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { IdentifyAccountComponent, SelectAccountIdentifierComponent, VerifyAccountIdentifierComponent,
RecoverAccountComponent } from './components';
const telemetryEnv = 'AccountRecovery';
const routes: Routes = [
{
path: '', component: RecoverAccountComponent, data: { hideHeaderNFooter : true },
children: [{
path: 'identify/account', component: IdentifyAccountComponent, data: {
telemetry: { env: telemetryEnv, pageid: 'IdentifyAccount', type: 'view', subtype: 'paginate' },
}
}, {
path: 'select/account/identifier', component: SelectAccountIdentifierComponent, data: {
telemetry: { env: telemetryEnv, pageid: 'SelectIdentifier', type: 'view', subtype: 'paginate' },
}
}, {
path: 'verify/account/identifier', component: VerifyAccountIdentifierComponent, data: {
telemetry: { env: telemetryEnv, pageid: 'VerifyIdentifier', type: 'view', subtype: 'paginate' },
}
}
]}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class RecoverAccountRoutingModule { }