I have a website where clicking a button triggers the opening of a modal window. Below is the essential controller code for this functionality:
var modalOptions = {
animation: true,
templateUrl: 'somehtml.html',
controller: 'MyController',
backdrop: 'static',
scope: $scope
};
modalInstance = $modal.open(modalOptions);
Within this modal, users can input information and submit it. I am wondering how to add another modal on top of the existing one that displays a message like "Currently adding to the database..." and automatically closes when the process is complete.
I have searched for resources on creating nested modals but found little information on the topic.