Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Manage UI State with the Angular Router

Manage UI State with the Angular Router


    Style the Active Angular Navigation Element with routerLinkActive

    John LindquistJohn Lindquist

    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.

    You must be a Member to view code