$location hash prefix

前端 未结 1 1131
面向向阳花
面向向阳花 2021-01-17 08:05

I\'m just starting out with Angular, so this might be a common newbie mistake but I am trying to achieve the following url format:

http://myapp.localhost/ind         


        
相关标签:
1条回答
  • 2021-01-17 08:40

    It's a method to set the hashPrefix, not a property. $locationProvider.hashPrefix('!');

    0 讨论(0)
提交回复
热议问题