【发布时间】:2016-09-27 07:16:03
【问题描述】:
我尝试在我的解决方案中使用 ui-select 指令。我在我的解决方案中添加了关于 ui-select 的整个 Github 文件夹。我还在我的 app.js 中注入了“ui.select”。但是当我运行解决方案时,F12中显示以下错误:
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module MetronicApp due to:
Error: [$injector:modulerr] Failed to instantiate module oc.lazyLoad due to:
Error: [$injector:nomod] Module 'ui.select' 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.
【问题讨论】:
-
可能你在 angularjs 文件之前包含了它。检查一下。