build/auth0-angular.js
function constructorName(fun) {
                if (fun) {
                    return {
                        lib: authUtilsProvider.fnName(fun),
                        constructor: fun
                    };
                }

                /* jshint ignore:start */
                if (null != window.Auth0Lock) {
                    return {
                        lib: 'Auth0Lock',
                        constructor: window.Auth0Lock
                    };
                }

                if (null != window.Auth0) {
                    return {
                        lib: 'Auth0',
                        constructor: window.Auth0
                    };
                }

                if (typeof Auth0Widget !== 'undefined') {
                    throw new Error('Auth0Widget is not supported with this version of auth0-angular' +
                        'anymore. Please try with an older one');
                }

                throw new Error('Cannot initialize Auth0Angular. Auth0Lock or Auth0 must be available');
                /* jshint ignore:end */
            }
function constructorName(fun) {
                if (fun) {
                    return {
                        lib: authUtilsProvider.fnName(fun),
                        constructor: fun
                    };
                }

                /* jshint ignore:start */
                if (null != window.Auth0Lock) {
                    return {
                        lib: 'Auth0Lock',
                        constructor: window.Auth0Lock
                    };
                }

                if (null != window.Auth0) {
                    return {
                        lib: 'Auth0',
                        constructor: window.Auth0
                    };
                }

                if (typeof Auth0Widget !== 'undefined') {
                    throw new Error('Auth0Widget is not supported with this version of auth0-angular' +
                        'anymore. Please try with an older one');
                }

                throw new Error('Cannot initialize Auth0Angular. Auth0Lock or Auth0 must be available');
                /* jshint ignore:end */
            }
/*

DESCRIPTION: Returns a constructor: Defaults to a function if provided.
Defaults to a Lock if library is included and function is not provided

INPUT: function
OUTPUT: object