dist/ocLazyLoad.require.js
function getModule(moduleName) {
                    try {
                        return ngModuleFct(moduleName);
                    } catch (e) {
                        // this error message really suxx
                        if (/No module/.test(e) || e.message.indexOf('$injector:nomod') > -1) {
                            e.message = 'The module "' + stringify(moduleName) + '" that you are trying to load does not exist. ' + e.message;
                        }
                        throw e;
                    }
                }
function getModule(moduleName) {
                    try {
                        return ngModuleFct(moduleName);
                    } catch (e) {
                        // this error message really suxx
                        if (/No module/.test(e) || e.message.indexOf('$injector:nomod') > -1) {
                            e.message = 'The module "' + stringify(moduleName) + '" that you are trying to load does not exist. ' + e.message;
                        }
                        throw e;
                    }
                }
function getModule ( moduleName ) { try { return ngModuleFct ( moduleName ) ; } catch ( e ) { // this error message really suxx if ( / No module / . test ( e ) || e . message . indexOf ( '$injector:nomod' ) > - 1 ) { e . message = 'The module "' + stringify ( moduleName ) + '" that you are trying to load does not exist. ' + e . message ; } throw e ; } }
Returns a module if it exists
@param moduleName
@returns {module}
Returns a module if it exists