1

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
  • 632
  • 2
  • 6
  • 15

1 Answers1

1

You can use

window.location.href

and parse query string from there.

Antoniossss
  • 24,977
  • 3
  • 43
  • 86