I am tried remove the # from my angular application.
I have followed the steps in different forum.
AngularJS routing, remove # from the URL
I have set the below configuration.
$locationProvider.html5Mode({ enabled: true, requireBase: false }); <head> <base href="/"> ... </head> The application is working as expected if I give my http://localhost/ if I try to refresh or give the complete url http://localhost/mypage/test.html it is not working routing and giving me 404. It is was working with #
http://localhost/#/mypage/test.html is working fine.
I am using chrome 51 any idea what is happening?