Angular
Diving Into Angular's Router

Using ActivatedRoute

PRO

Very often it's useful to have some information about the particular route we are at. Angular's router gives us the ActivatedRoute interface for this purpose. Let's put ActivatedRoute to work to conditionally apply classes to our ContactList component so that we can have a sidebar area to show our ContactDetail route.

 

I finished! On to the next chapter