I am wondering about an issue in my code.
vm.showSuccess = true;
$timeout(function() { close(); }, 2000);
vm.showSuccess = false;
Interestingly, the timeout function is executing properly but the first line seems to be ignored.
This piece of code is meant to display a success message after submitting a form.