I need to use 'relativeTo' property as well as 'routerLinkActive' directive in my application. Having a click listener function that routes using
router.navigate(this.router.navigate(['path']{relativeTo:this.route});
would be okay. But in that case I cannot use the routerLinkActive directive.
How can I simultaneously use both?
routerLinkActive
option? – Lamarckian