In routing for angularJS, how to remove '#' in url?

I am stuck with AngularJS routing. Can anyone suggest how to remove the '#' in url in routing for angularJS?

+3


source to share


2 answers


you can use HTML5Mode



please find more explanation at this HTMLMode link

0


source


for this you need to use: HTML5 mode

you can install it as below



$locationProvider.html5Mode(true);

      

you can read about it here

+1


source







All Articles