dist/angular-locker.js
function (key, def) {
                        if (angular.isArray(key)) {
                            var items = {};
                            angular.forEach(key, function (k) {
                                if (this.has(k)) items[k] = this._getItem(k);
                            }, this);

                            return items;
                        }

                        if (! this.has(key)) return arguments.length === 2 ? def : void 0;

                        return this._getItem(key);
                    }
function (key, def) {
                        if (angular.isArray(key)) {
                            var items = {};
                            angular.forEach(key, function (k) {
                                if (this.has(k)) items[k] = this._getItem(k);
                            }, this);

                            return items;
                        }

                        if (! this.has(key)) return arguments.length === 2 ? def : void 0;

                        return this._getItem(key);
                    }
function ( key , def ) { if ( angular . isArray ( key ) ) { var items = { } ; angular . forEach ( key , function ( k ) { if ( this . has ( k ) ) items [ k ] = this . _getItem ( k ) ; } , this ) ; return items ; } if ( ! this . has ( key ) ) return arguments . length === 2 ? def : void 0 ; return this . _getItem ( key ) ; }
Retrieve the specified item from storage

@public

@param  {String|Array}  key  The key to get
@param  {Mixed}         def  The default value if it does not exist

@return {Mixed}
Retrieve the specified item from storage