Angular
Fundamentals of Angular - Routing

Linking to Parameterized Routes

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 

In this video...

We will learn how to use routerLinks to link to parameterized routes.

Linking to parameterized routes, such as /movies/154 isn't as simple as it may seem on the surface, and we'll learn a new syntax for doing so by using the property binding syntax, and passing an array to the routerLink, like so:

routerLink="['movies', 154]" to create a routerLinink that points to /movies/154

 

I finished! On to the next chapter