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.
Merge pull request #26 from CaryLandholt/master

Add IIFE to avoid introducing global variables