When using routeParams to extract parameters in a url like:
https://asdfgh.com/#qwer/search?input1=ZXCV&input2=BNM
by $routeParams.input1
and $routeParams.input2
works great, but in some scenarios when posting the URL in a html page the & changes to &
like:
https://asdfgh.com/#qwer/search?input1=ZXCV&input2=BNM
and then $routeParams.input2
gets null
.
What is my solution to this?