How to remove '#' from url using $stateProvider in angularjs -


i using $stateprovider nesting of states.

now url looks likes localhost:8080/foo/projects#/dashboard

the desire url localhost:8080/foo/projects/dashboard

and don't want set html5mode true

$locationprovider.html5mode(true); 

with using $stateprovider , not setting $locationprovider.html5mode(true) there way achieve url without '#'.

please help. thanks


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

php - Redirect and hide target URL -