code: function remove(name) {
  
          if (localStorage) {
              try {
                  localStorage.removeItem(name);
              }
              catch (ex) {}
          }
  
          _.isFunction($cookies.remove) ?
              $cookies.remove(name, { domain: cookieDomain }) :
              $cookies[name] = null;
      }
docs: /* eslint no-empty:0 
  Remove a value from localStorage and cookies
  @param name