diff options
| author | Thibault Leruitte | 2013-02-26 11:14:27 +0100 | 
|---|---|---|
| committer | Igor Minar | 2013-02-28 17:27:27 -0800 | 
| commit | fe8d893b839e9b14e3e55a3a0523cc1e6355bdd5 (patch) | |
| tree | ea3442e28bf4fdfd476c150255257d5a9641a011 /images | |
| parent | eb53423a41136fcda0c5e711f2d104952080354b (diff) | |
| download | angular.js-fe8d893b839e9b14e3e55a3a0523cc1e6355bdd5.tar.bz2 | |
feat($compile): allow directives to modify interpolated attributes
A directive can now set/update/remove attribute values even those containing
interpolation during the compile phase and have the new value be picked up
during the compilation.
For example in template:
<div replace-directive some-attr-or-directive="{{originalInterpolationValue}}"></div>
the replace-directive can now replace the value of some-attr-or-directive during compilation
which produces this intermitent template:
<div replace-directive some-attr-or-directive="{{replacedInterpolationValue}}"></div>
or even
<div replace-directive some-attr-or-directive="replacedStaticValue"></div>
as well as
<div replace-directive some-attr-or-directive></div>
Diffstat (limited to 'images')
0 files changed, 0 insertions, 0 deletions
