Having trouble with an angular ui modal - a white rectangle appearing between the modal and backdrop. Any suggestions?
var modalInstance = $modal.open({
templateUrl:'src/app/shared/confirm-modal.html',
controller:'ConfirmModalCtrl',
controllerAs:'vm',
resolve:{
data:function(){
return {
title:'Delete?',
message:'Are You Sure',
buttons:['OK','Cancel']
}
}
},
size:'lg'
});
modalInstance.result.then(function(result){
alert('Operation successful')
},function(){
alert('Operation cancelled')
});