2

I have an angular landing page, the application will start with a bunch of query parameters, I want to read those parameter in the app.component, is there any way to read those parameter without using Router? I'm using UIRouter for the navigation.

Brian
  • 832
  • 2
  • 7
  • 18

1 Answers1

3

You can use

window.location.href

and parse query string from there.

Antoniossss
  • 31,590
  • 6
  • 57
  • 99