diff --git a/angular-local-storage.js b/angular-local-storage.js index ab7fa37..d4d1948 100644 --- a/angular-local-storage.js +++ b/angular-local-storage.js @@ -35,6 +35,11 @@ angularLocalStorage.provider('localStorageService', function(){ this.prefix = prefix; }; + // Setter for the storageType + this.setStorageType = function(storageType){ + this.storageType = storageType; + }; + // Setter for cookie config this.setStorageCookie = function(exp, path){ this.cookie = {