Enter Your Email Address to Watch This Lesson

Your link to unlock this lesson will be sent to this email address.

Unlock this lesson and all 1072 of the free egghead.io lessons, plus get Angular 2 content delivered directly to your inbox!



Existing egghead members will not see this. Sign in.

Add styles to active routes using nsRouterLinkActive

1:11 Angular 2 lesson by

Learn how to use the nsRouterLinkActive directive with options to control styling when a route is active.

Get the Code Now
click to level up

egghead.io comment guidelines

Avatar
egghead.io

Learn how to use the nsRouterLinkActive directive with options to control styling when a route is active.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?