Removing Bootstrap Modal in AngularJS

A lot of you may have used the components provided by UI Bootstrap in their applications, especially their service to create modal windows. It is quite easy to detect when the modal window is to be closed – either because the user dismissed the modal or interacted with it and closed it. However, it becomes quite tricky if you want to know when the modal window really has been removed from the DOM after the animation has finished. I present one way I found in the following post.

Continue reading →