diff options
| author | Martin Probst | 2013-01-08 20:11:51 +0100 |
|---|---|---|
| committer | Igor Minar | 2013-01-17 12:57:36 -0800 |
| commit | 66f051386e153f10bd2751a7cafb61404799adee (patch) | |
| tree | 2d2045916fba779b0e6c16e187a6749338fa2213 /docs/content/guide/dev_guide.services.$location.ngdoc | |
| parent | 8b3f9684e06f9c1fac8e3eccf48a03225e9f4d0a (diff) | |
| download | angular.js-66f051386e153f10bd2751a7cafb61404799adee.tar.bz2 | |
feat($compile): support modifying the DOM structure in postlink fn
Support modifying the DOM structure in the post link function of a directive
by creating a defensive copy of the node list, as opposed to a live DOM list.
This is useful for directives to actually replace their entire DOM fragment,
e.g. with the HTML fragment generated by a 3rd party component (Closure, Bootstrap ...).
Fix the indentation of the compileNodes function (was one too little).
Diffstat (limited to 'docs/content/guide/dev_guide.services.$location.ngdoc')
0 files changed, 0 insertions, 0 deletions
