https://github.com/jmdobry/angular-cache/issues/89  bug fix

Same as previous but without useless option and with small bug fix.