I have 2 components: ProcessComponent & ClientTypeComponent binded to routes.
const routes: Routes = [
{
{path: 'login', component: LoginComponent},
{path: 'home', component: HomeComponent, canActivate: [AuthGuard]},
{
path: 'process', component: ProcessComponent, canActivate: [AuthGuard], children: [
{path: 'client-type', component: ClientTypeComponent, canActivate: [AuthGuard]}
]
}
];
How can I just send a simple boolean value from /process/client-type to /process
I can't use neither data-binding or EventEmitter since I don't use nested components but nested routes.
There is probably a way but I can't find any answers.