且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我可以回收从AngularJS的URL散列片段的控制权?

更新时间: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('!');
});

使差