angular-dashboard-framework给我错误未知提供者:$ uibModalProvider< - $ uibModal< - adfDashboardDirective

时间:2016-01-28 08:14:56

标签: javascript jquery angularjs dashboard

我正在使用angular-dashboard-framework。它在rails应用程序上的ruby中运行良好,但是当我从rails应用程序中分离时,它会给我以下错误

  

错误:[$ injector:unpr]未知提供者:$ uibModalProvider< - $ uibModal< - adfDashboardDirective   http://errors.angularjs.org/1.4.4/ $注射器/ unpr?P0 =%24uibModalProvider%20%3 C-%20%24uibModal%20%3 C-%20adfDashboardDirective

at angular.js:68
at angular.js:4284
at Object.getService [as get] (angular.js:4432)
at angular.js:4289
at getService (angular.js:4432)
at Object.invoke (angular.js:4464)
at angular.js:7037
at forEach (angular.js:336)
at Object.<anonymous> (angular.js:7035)
at Object.invoke (angular.js:4473)

请指导我。

1 个答案:

答案 0 :(得分:1)

看起来adfDashboard需要angular-bootstrap,您是否可以尝试添加此内容并查看错误是否仍然存在?