I want to have the following routes in my application:
export const routes: Routes = [ { path: \':universityId\', component: UniversityCompon
This is very simple. You can simply try to use this.router.navigate(["../2", "courses", "open"], {relativeTo: this.route});
(or)
this.router.navigate(["../2", "courses/open"], {relativeTo: this.route});
This will redirect you to ../2/courses/open.