在使用ng-route時,要去掉“#”可以使用 ,$locationProvider.html5Mode(true);那麼對應ui-route中,要去掉“#”,該怎麼做呢?
不用 href 而用 ui-sref 直接寫狀態, 而不用路徑呢?
href
ui-sref
不用
href
而用ui-sref
直接寫狀態, 而不用路徑呢?