In anglarjs, I use $routeProvider to route various urls. Want to remove # from URLS but failed after trying all the established ways to do so (setting html5 to true with <base>
option in main.php along with .htaccess).
I am using views/layouts/main.php from yii2 framework as standard page that instantiates ng-app.
Can you tell what steps should I follow...
When I run a url without hash, it returns 404 as it cannot find the route that it used to find after #