Answer the question
In order to leave comments, you need to log in
How to use classic url GET parameters in angular2?
Angular2 defaults to matrix params, but I need to process a link with query params. It is generated on a third-party resource and I cannot change it, people just come to me using this link, for example: example.com/auth?param1=value1¶m2=value2. Through RouteParams.get('param1') only works with matrix.
Are there options other than manually parsing? And what is the best way to do this in TypeScript?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question