I want to enable HTML5 mode for my app. I have put the following code for the configuration, as shown here:
return app.config([\'$routeProvider\',\'$location
I am using apache (xampp) on my dev environment and apache on the production, add:
errorDocument 404 /index.html
to the .htaccess solve for me this issue.