Try to disable html5mode$locationProvider.html5Mode(false).hashPrefix('!');or remove this string completely.
$locationProvider.html5Mode(false).hashPrefix('!');