ionic-img-cache.js
function clearCache() {
      var defer = $q.defer();

      _checkImgCacheReady()
        .then(function() {
          ImgCache.clearCache(defer.resolve, defer.reject);
        })
        .catch(defer.reject);

      return defer.promise;
    }
function clearCache() {
      var defer = $q.defer();

      _checkImgCacheReady()
        .then(function() {
          ImgCache.clearCache(defer.resolve, defer.reject);
        })
        .catch(defer.reject);

      return defer.promise;
    }
function clearCache ( ) { var defer = $q . defer ( ) ; _checkImgCacheReady ( ) . then ( function ( ) { ImgCache . clearCache ( defer . resolve , defer . reject ) ; } ) . catch ( defer . reject ) ; return defer . promise ; }
Clears all cahced files.
Clears all cahced files .