Angular 1 - routeProvider not working in html5Mode
问题 After enabling html5Mode , my $routeProvider is not working anymore. I see the same issue in this post but nothing is working for me. I don't even know where to begin as it seems to work on all other examples I have come across. I am using Express to route to /index which works just fine but only the top navbar is shown. The ng-view is not loading with no errors whatsoever. My URL structure: Before: localhost:3000/index#/ //This worked previously before I enabled html5Mode After: localhost