我试着在我的解决方案中使用ui-select指令。我在我的解决方案中添加了关于ui-select的整个Github文件夹。我也在app.js中注入'ui.select'。但是,当我运行的解决方案,显示在F12以下错误:ui选择错误加载“模块'ui.select'不可用!您拼错了模块名称或忘记加载它。”
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文件包含它。检查。 –