I have an angular app with a single page for a confirmation that accepts a hash value in the query. There are no routes in the application. Just a single page and the component. How can I retrieve the hash value from the url query parameter?
I tried adding ActivatedRoute to the component but got an error saying there was no provider.
I would like to avoid having to add routes for this purpose, if possible.
I ended up using https://stackoverflow.com/a/31057221/10609045