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

前端 未结 6 1452
既然无缘
既然无缘 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:44

    var ModalInstanceCtrl = ['$scope', '$modalInstance',  function ($scope, $modalInstance, items) { 
       /* copy rest of example code here */ 
    }];
    

提交回复
热议问题