How can I get the querystring from a URL before angular starts running?


+1 vote
asked Mar 16, 2016 by Romer (300 points)
So I've got old application that lives at url. Through most functions of app, guid is passed as ID in query string url.

5 Answers

0 votes
answered Jun 2, 2016 by For_the (500 points)
selected Jun 4, 2016 by wolven
 
Best answer
In my case had to manually download and unpack the zip file from http://www.bennadel.com/blog/695-ask-ben-getting-query-string-values-in-javascript.htm
commented Jun 4, 2016 by wolven (100 points)
It can be found in detail in here
+1 vote
answered Mar 23, 2016 by handlingRel (230 points)
The element above tells the URL Rewrite Module to end the HTTP request. The element above says that the rule will match any URL string.
To do this, open the URL Rewrite feature view UI in IIS Manager.
In the Rewrite URL: text box, enter the following string: article.
commented Mar 23, 2016 by detail3328 (850 points)
In the Feature View click URL Rewrite
commented Mar 24, 2016 by nqq_8781 (430 points)
This might not be the best solution however this is how I did it
0 votes
answered May 25, 2016 by This_Kacic (140 points)
I just noticed that this question is quite old. Have you tried this feat($location): add queryString method joshrtay/angular ...
0 votes
answered Jun 2, 2016 by Jna3545Gali (560 points)
0 votes
answered Jun 2, 2016 by Rosendorf (620 points)
Simply copy this code and hope this works fine for you
Also a new and more scenario specific guide was just published as well at Get querystring in angular controller - quabr.com

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...