I had a project where the URL just worked fine when working locally by going to
localhost:9000/
the URL would become
I have managed to solve this problem by using
$locationProvider.hashPrefix('');
It seems to be a bug in 1.6.0 angularjs