moduleLoaded = function moduleLoaded(module) {
                        var isLoaded = regModules.indexOf(module) > -1;
                        if (!isLoaded) {
                            isLoaded = !!moduleExists(module);
                        }
                        return isLoaded;
                    }
Let you check if a module has been loaded into Angular or not
@param modulesNames String/Object a module name, or a list of module names
@returns {boolean}