whole_func_string: function (key, storageType) {
  
              // Get storage type
              var isStorageType = typeof storageType === 'undefined' ? false : true,
                  item;
  
              // Set web storage
              if (isStorageType) {
                  webStorage = $window[storageType];
                  item = webStorage ? webStorage.getItem(key) : null;
              } else {
                  webStorage = $window.sessionStorage;
                  item = webStorage ? webStorage.getItem(key) : null;
                  if (!item || item === 'null') {
                      webStorage = $window.localStorage;
                      item = webStorage ? webStorage.getItem(key) : null;
                  }
              }
  
              if (!item || item === 'null') {
                  return null;
              }
  
              if (item.charAt(0) === "{" || item.charAt(0) === "[") {
                  return angular.fromJson(item);
              }
  
              return item;
          }
func_code_string: function (key, storageType) {
  
              // Get storage type
              var isStorageType = typeof storageType === 'undefined' ? false : true,
                  item;
  
              // Set web storage
              if (isStorageType) {
                  webStorage = $window[storageType];
                  item = webStorage ? webStorage.getItem(key) : null;
              } else {
                  webStorage = $window.sessionStorage;
                  item = webStorage ? webStorage.getItem(key) : null;
                  if (!item || item === 'null') {
                      webStorage = $window.localStorage;
                      item = webStorage ? webStorage.getItem(key) : null;
                  }
              }
  
              if (!item || item === 'null') {
                  return null;
              }
  
              if (item.charAt(0) === "{" || item.charAt(0) === "[") {
                  return angular.fromJson(item);
              }
  
              return item;
          }
func_documentation_string: /*
  Return a value from storage
  - key
  - storageType: *optional* localStorage or sessionStorage