在使用ng-route时,要去掉“#”可以使用 <base href="/">,$locationProvider.html5Mode(true);那么对应ui-route中,要去掉“#”,该怎么做呢?
不用
href
而用ui-sref
直接写状态, 而不用路径呢?