I noticed that my ionView with a collection-repeat does NOT get cached and therefore forgets the scrolling position every time I enter it. Strangely this only occurs if I start the app on another view and then transition to the list view:
However, the collection-repeat view DOES get cached if I enter the app directly on the list view and change back/forth to the start view:
Note:
The only changed line is: $urlRouterProvider.otherwise(’/start’); versus $urlRouterProvider.otherwise(’/list’);
After further investigation this is not connected to the collection-repeat directive.
The cashing does not work for several views. Setting $ionicConfigProvider.views.maxCache(20); does not help.
Any ideas why cashing does not work in this particular case?