Add IIFE to avoid introducing global variables

Without the closure provided by the IIFE, angularLocalStorage is a global variable.

The IIFE prevents global variable introduction.
dev
Cary Landholt 11 years ago
parent db5638ad57
commit cf39b3c339

@ -1,4 +1,4 @@
(function() {
/* Start angularLocalStorage */
var angularLocalStorage = angular.module('LocalStorageModule', []);
@ -258,3 +258,4 @@ angularLocalStorage.service('localStorageService', [
};
}]);
}).call(this);