In this video...

We will learn how to add query parameters to our router links.

Query parameters are when we have something like ?sort=name in the URL. Again, doing this with router links isn't as straightforward as we might like to think. Rather than adding something to the routerLink attribute, we actually use a new binding to a new property: queryParams. It looks like this:

<a routerLink="/movies" [queryParams]="{sort: 'name'}">Sort by name</a>


I finished! On to the next chapter