I need to have a link with a ui-sref attribute that reloads the page even if the target is the same as the source. I tried using
ui-sref='newState' ui-sref-opts='{reload: true}'
, but it didn't work.
However, when I use $state.go('newState', {}, {reload: true})
, it works perfectly fine.
Any suggestions or insights on this issue?