3
我如何可以去狀態並同時添加查詢參數的URL? 可以說我有這樣的狀態:角度ui路由器更改狀態與查詢參數
$stateProvider
.state('cart', {
templateUrl: 'client/cart/cart.html',
url: '/my-cart',
controller: 'CartController'
})
我一些意見,以$ state.go希望(「購物車」)和一些意見,以$ state.go(「購物車」),但查詢參數添加到它像,/車?購買=完全
這是行不通的。 – Bazinga 2014-12-08 09:22:23