activatedRoute.url.subscribereturns a list urlsegmentswhen the URL changes. activatedRoute.queryParams.subscribereturns an object queryParamswhenever it changes.
How can I subscribe to both, so in the callback I can access both the last URL and the last parameters?
source
share