I have some problem with the caching system . I hope that someone can help fix understand where is my mistake.
I have a simple two states app. Each of these states has a resolve part.
The scenario is the following :
I go from State 1 to State 2 and then click the back button…pretty simple.
I expect to go back to my first view
- without reinstancing controller => OK
- withtout resolving the state again because its a cached view => NOT OK. The State 1 resolve is called again.
Why is that ? Am i doing something wrong or is it the expected behavior ? My understanding, reading the doc, was that only setting (cache : false) causes the controller and the resolve to be triggered again…
Thanks for your help