在使用ng route时,要去掉URL中的“ ”可以使用 ,$locationProvider.html5Mode(true); 那么对应的angular ui route中,要去掉URL中的“ ”,该怎么做呢?