ParamMap for routes like user/:id. Id param belongs only this route.
user/:id
Id
QueryParamMap is for eg. user/:id?tab=edit. Tab is a global query param, it can be read from the ActivatedRoute in the user route's component as well as any of its ancestors.
user/:id?tab=edit
Tab
params—An Observable that contains the required and optional parameters specific to the route. Use paramMap instead.
params
paramMap
queryParams—An Observable that contains the query parameters available to all routes. Use queryParamMap instead.
queryParams
queryParamMap