Reputation: 3039
I don't know how exactly show my problem.
I'm trying dynamically change content with address changing.
If I don't use $locationProvider
the '#' appears in address and I don't need it.
So if I use $locationProvider
the <base>
is needed. But when I add <base>
my project doesn't see all outer css and scripts.
Here's plunker if it can help to understand :) Only first two sub menu contains href http://plnkr.co/edit/pggakYtKS9xgxeMuKPEC?p=preview
Upvotes: 1
Views: 45
Reputation: 3949
You can disable requireBase property as below.
$locationProvider.html5Mode({
enabled: true,
requireBase: false
});
Upvotes: 1