Closed
Description
If i pass a string like /default
to $stateParams
, it seems to mess up the routing:
var name = "/default";
this.$state.go("app.transactions.detail", { txnName: name });
While the controller is invoked, the url is unable to switch to.
when i encode the value before passing it to $stateparams, it works.
however, ui-router should take care of doing the encoding/decoding for me.