AngularJS web storage service supporting localStorage, sessionStorage and cookies