Style the Active Angular Navigation Element with routerLinkActive

Share this video with your friends

Send Tweet

You can easily show the user which route they are on using Angular’s routerLinkActive. Whenever a route matches the routerLink defined on the element, then the routerLInkActive will add the class that you assign it to.

Kevin Pinny
Kevin Pinny
~ 7 years ago

The code in the transcript isn't properly code formatted, probably due to missing ``` at the bottom.