likeastore/ngDialog — pull request #17 by evgd (2014-02-14 13:37:19+00:00)
Title: Scope memory leaks

![ngDialog bug](https://f.cloud.github.com/assets/6247470/2171103/4e46c13a-957c-11e3-8a9a-73144f82104a.png)
I've faced with memory leaks that also cause exceptions on third party script (angular-masonry). With raw element.remove() child controllers still active and angular-masonry executes removing elements and reloading layout (exception here).
I'm not sure that it's proper way to destroy. Do you have better idea?