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
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
I've a simple problem. I'm using a ng-include directive inside a modal.
It's because a want to dynamically change the src for the include (the example however is with fixed src attribute).
Every time I open the modal, a new scope is created (I can see it with batarang).
After opening the modal a dozen times, I've many scopes and the application is getting slow.
I've a simple problem. I'm using a ng-include directive inside a modal.
It's because a want to dynamically change the src for the include (the example however is with fixed src attribute).
<div class="modal" modal="theModal" close="closeModal()">
<div ng-include src="'form1.html'">
</div>
Every time I open the modal, a new scope is created (I can see it with batarang).
After opening the modal a dozen times, I've many scopes and the application is getting slow.
Is this a bug?
More Information is here:
http://stackoverflow.com/questions/16528634/angularjs-creating-additional-scopes-on-opening-modal-dialog-multiple-times
http://plnkr.co/Mbo9OaKA8MFJptwmI3PN
The text was updated successfully, but these errors were encountered: