3

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

Michele La Ferla
  • 6,775
  • 11
  • 53
  • 79

2 Answers2

1

for that you need to use: HTML5 Mode

you can set it like below

$locationProvider.html5Mode(true);

you can read more about this here

harishr
  • 17,807
  • 9
  • 78
  • 125
0

you can use HTML5Mode

please find more explaination on this link HTMLMode

Community
  • 1
  • 1
jpsjph
  • 135
  • 1
  • 8