I'm using angular-ui's router (v0.2.0) in a project and we're trying to reload a view. I've tried $state.transitionTo
and also $state.go
, but neither seem to do anything. Would anyone know how to do a reload?
Thank you!
The 3rd parameter of $state.go
takes an options object which has a reload property, so doing something like
$state.go('resources', {start: $stateParams.start}, {reload:true});
Should do the trick - on the latest version I can confirm it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With