You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure, but I think that this bug comes from the usage of factory instead of service. Using a factory, angular creates objects every time the factory is injected, while using the service method, angular creates only one instance from that service (singleton). Another issue that may raise using the factory method is tracking of all open modals...
Btw I like your service very much (especially its simplicity) and I would very much like to see components of angular 1.5 integrated in it (like in ui-bootstrap modal service).
I opened and closed the first dialog several times on the page http://dwmkerr.github.io/angular-modal-service/.
This producdes the following memory leak:
The text was updated successfully, but these errors were encountered: