My problem is quite classic. I have a private part of an application which is behind a login form
. When the login is successful, it goes to a child route for th
constructor(private router: Router) {}
navigateOnParent() {
this.router.navigate(['../some-path-on-parent']);
}
The router supports
/xxx
- started on the router of the root componentxxx
- started on the router of the current component../xxx
- started on the parent router of the current component