Skip to content

Conversation

@sijmenvos
Copy link
Contributor

When the scope of a modal gets destroyed, the modal should also be removed from the dom. Otherwise it will stack them when you for example change views in ui-router or a different view router.

Simple but effective, and in my case, important fix.

@jspdown
Copy link
Member

jspdown commented Sep 17, 2015

Feel free to contribute more like that. I merge it right now 👍

@jspdown jspdown closed this Sep 17, 2015
@jspdown jspdown reopened this Sep 17, 2015
jspdown added a commit that referenced this pull request Sep 17, 2015
Hide and destroy modal when scope gets destroyed
@jspdown jspdown merged commit 6ac38e0 into angularify:master Sep 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants