Hi
I have created app which support three languages and I have used cache.
On language change, I am clearing cache using :
$ionicHistory.clearHistory();
$ionicHistory.clearCache();
But when I switch language this keeps current page cache (and could not change language of content because of cached data). Also, clearHistory() does not allow me to reload page.
I tried following to reload but did not work :
$state.transitionTo($state.current, angular.copy($ionicHistory.currentView().stateParams), {reload : true, inherit : true, notify : true});
$state.go($state.current, {}, {reload: true});
Please tell me the way to reload this page OR remove cache of current page.
Thanks for your help in advance.