Preserve View State While Navigating


#1

Is there any way to preserve a views state such that when I navigate back to an already populated view the controller wont have to reload the model?


#2

you can try a similar fix like I did here How to preserve field values when switching tabs?

or you can save the information using a service or factory as you are moving between states.

It is difficult to provide an exact solution without understanding the structure of your applications… a simple codepen example always helps to move the process along