例子:
angular.module("app", ['someServices'])
如果someServices
不存在,将收到错误消息:
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module pascalprecht.translate32 due to:
Error: [$injector:nomod] Module 'someServices' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
但是现在,我想让它继续运行,这意味着如果它加载失败然后忽略它。
是否有一些配置?