# Route Parameters in Angular

Route Parameters in Angular: Route Parameters in Angular: an overview, Reading the Route Parameter, Defining the Links.

Updated: November 15, 2026

1. [Route Parameters in Angular: an overview](https://www.ask-codey.com/lessons/route-parameters-in-angular-an-overview) (Journeyman): An address can carry a value: /categories/3 means category 3. One route with a parameter, categories/:categoryId, serves every category, like {id} in an ASP.NET Core route. It takes three steps: the route, the component that reads the value, and the links that put it in.
2. [Reading the Route Parameter](https://www.ask-codey.com/lessons/route-parameters-in-angular-reading-the-route-parameter) (Journeyman): With withComponentInputBinding, the router hands a route's parameters to the page component as inputs, so categoryId is an input like any other, turned into a number with numberAttribute. Load the data in an effect, because Angular reuses the page when only the id changes.
3. [Defining the Links](https://www.ask-codey.com/lessons/route-parameters-in-angular-defining-the-links) (Journeyman): Build a link with an id in it by giving routerLink a list of parts: \[routerLink\]="\['/categories', category.categoryId\]" makes /categories/3. The same list works with Router's navigate, and the router joins and escapes the parts for you.

Source: https://www.ask-codey.com/courses/csharp-full-stack-bootcamp/topics/route-parameters-in-angular
