From http://jmdobry.github.io/angular-cache/installation.html