caching - ionic infinit list reload cached page/view -


i have ionic list page template cached set true, each item clickable , way avoid reload cache page. however, need to reload list menu option appears controller isn't triggering. i've tried setting difference services using &ionichistory clearcache , clearhistory, nothing works.

after banging heads few times, following solution worked! forcing reload of list controller following:

$state.go("app.tabs.your_controller", {}, {reload: true});

note: $stateparams wouldn't take effect since page wasn't loading, instead "reload: true" works charm. continue use $state.go("app.tabs.your_controller") on other pages don't require page reload.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -