Template cache not working with $state.go

I have applied cache: true on all my URL routes, so, the page position is retained on navigation but if I programmatic-ally navigate using $state.go(), the position is not retained. Can it be achieved ?

1 Like

I’ve not tried route caching before, but what if you used $location.path to change your states?

That was quick, thanks, Yes, window.location.href works as well but why does $state not work ?