更新时间:2022-02-02 05:15:51
我打赌你需要处于html5 模式"才能没有哈希片段......虽然我不确定.
I'd wager you need to be in 'html5 mode' to not have the hash fragment... though I'm uncertain.
http://docs.angularjs.org/guide/dev_guide.services.$位置
$locationProvider.html5Mode(true).hashPrefix('!');
在您的应用配置中,您可以弄乱该配置参数,它可能会摆脱它.
In your app configuration, you can mess with that config param and it'd probably get rid of it.