How to clear cache only when I reload Controller


Hello there,
I got a problem when develop my app.
I have a controller and sometime I want to reload it to update data. As I see, If I want to reload data, I must set cache = false;
But in that controller when I navigate back to that controller I want it was cached for user experiment reason.
Can someone help me for my issues. Sorry for my bad English.
Thank you so much.


Instead of clearing the cache, you can listen to the “$ionicView.enter” event on the scope variable and refresh your data.


Thank you but is there any other way to solve my problem