$ionicHistory.clearCache() not clearing cache

I updated my project ionic version to 1.1.0 and try $ionicHistory.clearCache() function to clear the cached views but it is not clearing any cache. Cached page are still there and whole app get stuck can’t do any thing. Even debugging is impossible in chorme even.

Is it a bug or something else. I am using this for logout function. This is how used that function,

$ionicHistory.clearCache().then(function() {
       console.log("clear cache");