I\'ve configured AngularJS locationProvider to use html5 (and fallbacks in hashbangs)
$locationProvider.html5Mode(true).hashPrefix(\'!\')
The p
This may help: angular-slash-gets-encoded
I solved it by doing two things:
<base href="/">
This way I can use either http://localhost/#!/route or http://localhost/route and the URL gets rewritten correctly.
http://localhost/#!/route
http://localhost/route