I can't get any home page to load in my <ui-view></ui-view> element, unless I click my navigation bar to load a link. Then the route changes and the correct page is loaded.
Combining with $urlRouterProvider.otherwise('page-name') the location hash doesn't change anymore.
So it is not possible for me to set a default page.
Any idea what could be wrong?
I can't get any home page to load in my
<ui-view></ui-view>
element, unless I click my navigation bar to load a link. Then the route changes and the correct page is loaded. Combining with$urlRouterProvider.otherwise('page-name')
the location hash doesn't change anymore.So it is not possible for me to set a default page. Any idea what could be wrong?
Bower dependencies:
Statehelper config:
Also note that I had to use keepOriginalNames set to true to avoid the 'route cannot contain dots'-error.