Reputation: 86915
I want to use angularjs
to read the full query string:
http://localhost/test#/?param1=abc¶m2=def
I know that var query = $location.search();
would give my an object containing each param as key-value pair.
But I want to extract the full string param1=abc¶m2=def
, and use this param elsewhere. Without having to know what parameters are inside the string.
Is that possible?
Upvotes: 1
Views: 433