This lesson is going to demonstrate how to pass and retrieve parameter values from the angular router. So the app I have here was generated with routing with the CLI tool. So this routing module file is already configured and imported into the route module of the application. The router module that's imported from angular here includes different directives and providers that allow for in application navigation. This includes the router link, router link active, and the router outlet directives, as well as the router service. So for this demo, say you're creating a web application for a real estate company. One of the features you may need is a page that lists the available properties, and then clicking that property listing should take the user to a page with more details about that particular property. So to set that up, I'm first going to generate a component that displays a list of the properties and then a component that will display the details of our property. So here, the item list component will be for displaying all of the listings and the item component will be for displaying an individual listing. I'm also gonna generate a component to act as a home page. So now to create routes for those three components, I first have to import them into this app routing module file. Next down here, and the routes are right. I'm gonna first define a route for the home page. And then next I'll create a route for the item list component. Now for the item component, I need to pass the ID of the item in the route . This way if this app was attached to a back-end, it could use that ID to retrieve the data for the listing, from the database. To denote a parameter in a route path, put a colon in front of the parameter name. This way, the angular router knows that this is a parameter that's going to be passed. And it doesn't try to match the path to the word ID. When it looks for a matching route. And that parameter value will be passed in the link When a user clicks on a specific item from the list. Since there's no actual back-end for this app, I created a service that will return some basic mock data just for demonstration purposes. There's two functions defined in the service. One that returns all of the listing data, and one that takes an ID and returns that particular listing data . And to finish setting up that router. I also need to add the router outlet. So I'm gonna open up the route component template, and delete all of the starter code, and then replace that with that router outlet. So now that there is an outlet to display the routes in the view, I'm gonna create a link from the homepage component to that list component. Now to create a link for the angular router, you don't want to use the H-ref attribute. This is a single page application, so we don't want to navigate to a new HTML page. Instead, the router link directive is used.