We often need to pass a parameter like an ID to a route and then access that ID in order to call an API to get some data. In this lesson, we'll look at how to define a route with a parameter, how to use params with the routerLink
directive, and how to use the route snapshot to use a param in a component.