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 was archived by the owner on Apr 12, 2024. It is now read-only.
Document Scope#$destroy requirement in $transclude #9352
@IgorMinar - if a directive is not manually modifying the DOM (i.e. only using built-in directives to add and remove DOM elements) then there should be no need for the application developer to worry or even do anything special in their directives. It is only in the case where their directive takes responsibility for DOM manipulation where they have to ensure that they tidy up their DOM and scopes.
Activity
petebacondarwin commentedon Oct 2, 2014
@IgorMinar - if a directive is not manually modifying the DOM (i.e. only using built-in directives to add and remove DOM elements) then there should be no need for the application developer to worry or even do anything special in their directives. It is only in the case where their directive takes responsibility for DOM manipulation where they have to ensure that they tidy up their DOM and scopes.
I will find some place to put this info...