走同样的路,发现不同的人生
Set $locationProvider.html5Mode(true); to enable html5 mode, you can remove #!.
You can also replace #! with your own favorite
$locationProvider.hashPrefix("#"); //变成 ##
For details, please see the following link document: https://docs.angularjs.org/ap...$locationProvider
Set $locationProvider.html5Mode(true); to enable html5 mode, you can remove #!.
You can also replace #! with your own favorite
For details, please see the following link document:
https://docs.angularjs.org/ap...$locationProvider