anguarjs中当遇到modal嵌套modal的时候,比如一个modal弹出啦一个modal1,关闭modal1后,modal本身的关闭功能失效,那么需要$modal来生命弹出的modal1并且关闭 js: .controller('infoWindowCtrl', function($scope,NiDialog,$modal) { $scope.showInfo = function(obj,title) { var modalInstance; modalInstance=$modal.…