angular-dashboard-framework 给我错误 Unknown provider: $uibModalProvider <- $uibModal <- adfDashboardDirective

angular-dashboard-framework give me error Unknown provider: $uibModalProvider <- $uibModal <- adfDashboardDirective

我正在使用 angular-dashboard-framework。它在 rails 应用程序上的 ruby 中工作正常,但是当我与 rails 应用程序分离时,它给了我以下错误

Error: [$injector:unpr] Unknown provider: $uibModalProvider <- $uibModal <- adfDashboardDirective http://errors.angularjs.org/1.4.4/$injector/unpr?p0=%24uibModalProvider%20%3C-%20%24uibModal%20%3C-%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)

请指导我。

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