Angular #37 - Router Link - Part 3 | Query Params (How to access query params from route)

Опубликовано: 17 Февраль 2026
на канале: Let's Build With Code
63
1

Click to watch Angular Playlist:    • Angular  

Query Params
In this tutorial we are going to send Query Params. We all know query params alway start after ‘?’ mark in url.
For example : /user/people?profileId=12335

You can instruct the directive to handle query parameters differently by specifying the queryParamsHandling option in the link.

Allowed values are:
'merge': Merge the given queryParams into the current query params.
'preserve': Preserve the current query params.