更新时间:2023-02-23 10:18:54
#
似乎工作的角度API文档页面上不够好。所以有一点监听和测试我发现,
#
seems to work well enough on the angular api docs page. So with a little snooping and testing I found that
app.config(function($locationProvider) {
$locationProvider.html5Mode(true).hashPrefix('!');
});
使差