I face to this problem, I using angular v1.6.5 , my route act weird , let's say I have this route :
$routeProvider
.when('/', { templateUrl: 'myTemplate', controller: 'myController', method: 'myMethod' })
}
and my url is like myUrl.com/sectionName what I expect to get is :
myUrl.com/sectionName/#/
but instead I get this :
myUrl.com/sectionName#/
I still can get my data and controllers works fine in this route, but cause some other problems ( for instance cannot detect onhashchange event )
I searched for similar problems but most of them was about some other issues like some extra chars ( like '!' ) which can be fixed by using $locationProvider.hashPrefix(''); and I also already used it in my config, but in my case, the problem is something else.
So if any help on this I will appreciate it.
<base>tag in your HTML? Can you try<base href="sectionName" />and see if it helps?