Unknown provider: $modalProvider <- $modal error with AngularJS

前端 未结 6 1453
既然无缘
既然无缘 2020-12-24 04:37

I keep receiving this error as I\'m trying to implement bootstrap Modal window. What could be the cause of it? I\'ve copy/pasted everything from http://angular-ui.github.io/

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-24 04:59

    after checking that I had all dependancies included, I fixed the issue by renaming $modal to $uibmodal and $modalInstance to $uibModalInstance

提交回复
热议问题