I am using angularjs with java tomcat
i have an application that her base url is myapplication/app/index.html
Everything works great when i use the # in the url
When i try to switch to html 5 mode it goes crazy
i added the base url meta tag but with no luck in every option i can
with the entire path or with out <base href="index.html" />
and set up the configuration for the app as $locationProvider.html5Mode(true);
nothing seems to help me any ideas ?
app code :
$locationProvider.html5Mode({ enabled: true, requireBase: false });
or
$locationProvider.html5Mode(true);
for the code base i tried every thing from
<base href="/" />
to
<base href="myappname/pathtofiles/" />
<base href="/" />