AngularJS 1.2.0 (but lower versions have the same problem)
I have a web app with some widgets and want to save their state into URL.
I do this now with $location.hash('param1=1¶m2=678')
command. But I get url like: domain.com/##param1=1¶m2=678
It works ok, I can restore state of my app. One problem I have with that is when someone click such a link in, for example, mail app, their browser encodes one of hashes with /23 and so my app goes wrong. How can i solve this? Thanks
Here is plunk: http://plnkr.co/edit/VVjEUzROou6hu8B8sURa?p=preview You need open it in new window to able to test hashes