3

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

Michele La Ferla
  • 6,535
  • 11
  • 48
  • 77

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,367
  • 9
  • 74
  • 117
0

you can use HTML5Mode

please find more explaination on this link HTMLMode

Community
  • 1
  • 1
jpsjph
  • 136
  • 1
  • 7