Angular Force An Undesired Exclamation Mark In Url
When I click on this : home the url is localhost/Sites/App/#!/#%2Fhome When I click on this : home the url is loc
Solution 1:
I solved it by adding this:
$locationProvider.hashPrefix('');
Solution 2:
//Client side Configuration to pretty url //Remove # from url
$locationProvider.html5Mode(true);
and add this to your index.html
<base href="/"></base>
Post a Comment for "Angular Force An Undesired Exclamation Mark In Url"