Black shadow left behind when closing after $http call
Modal service for AngularJS - supports creating popups and modals via a service.
Brought to you by:
evanfcrane
Originally created by: rossrossp
When attempting to close a modal after a $http call, the black shadow gets left behind.
Has anybody else seen this?
$http({ method : "POST", url : "/api/bla", data: { } })
.then(function mySuccess(response) {
if(response.data.error) {
$scope.errorMessage = response.data.error;
} else {
close(true, 500);
} }, function myError(response) { //bla });
Any ideas?