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.

bramzoti
  • 742
  • 2
  • 6
  • 16

1 Answers1

2

You can use

window.location.href

and parse query string from there.

Antoniossss
  • 28,922
  • 5
  • 49
  • 91