code: function (key, storageType) {
  
              var isStorageType = typeof storageType === 'undefined' ? false : true;
  
              if (isStorageType) {
                  webStorage = $window[storageType];
                  webStorage.removeItem(key);
              } else {
                  webStorage = $window.sessionStorage;
                  webStorage.removeItem(key);
                  webStorage = $window.localStorage;
                  webStorage.removeItem(key);
              }
  
              return true;
          }
docs: /*
  Remove an item from local storage
  - key: key to retrieve data
  - storageType: *optional* localStorage or sessionStorage