Route Parameters
Let's explore how we can use route parameters to pass an ID or parameter as part of the URL and load data based on that parameter.
A very common part of any modern web application is passing an ID or parameter as part of the URL to load data based on that parameter. In Angular, this is achieved using Route parameters.
What are Route parameters?
Route parameters are dynamic values that are attached to the end of a URL. This value is then used to load data or a flag in the view to change how a view will look.
You would probably use this to load in the details of a specific client or company, something we will be doing once we have built up the application enough to start saving data.
Get hands-on with 1200+ tech skills courses.