btford / angular-modal

Simple AngularJS service for creating modals
234 stars 58 forks source link

So hard to use and it seems unfinished #41

Closed sleaze closed 9 years ago

sleaze commented 9 years ago

This library feels difficult to use and reason about, and overall it seems unfinished. How can I make close the modal?

For now I'm going with https://github.com/vesparny/angular-fancy-modal since it works great out the box..

mathewbergt commented 9 years ago

As stated in the documentation:

modalService.deactivate

Removes the modal (DOM and scope) from the DOM. Returns a promise that resolves once the modal is removed.

In other words, myModal.deactivate().

sleaze commented 9 years ago

OK THANK YOU BERG.