Angular
Fundamentals of Angular - Routing

Configuring Parameters in 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 configure route parameters.

Route parameters are the mechanism we use to create dynamic routes such as linking to the details view of a piece of data in a list. For example, if we want to view the details of a movie, we don't want to create a separate detail view for every movie in our database. Instead we want to create one view, and have the data dynamically driven by the URL. So if the URL says /movies/154 then we want to show the details for the movie whose id is 154. This is what route parameters are for.

 

I finished! On to the next chapter