angular
angular copied to clipboard
Update uisref on param changing, not only state
If you have a link where some of the params are inherited, they will become outdated if the params change without the state changing.
@wawyed When I looked at the code to fix the typo got me thinking if it's unecessary to update the sref twice in the scenario where you switch state and params? Maybe it'd work better if we were to listen to onSuccess
or something rather than subscribing to state$
and params$
separately? 🤔