Applied https://github.com/gsklee/ngStorage/pull/24