diff options
| author | Vojta Jina | 2012-03-23 15:53:04 -0700 |
|---|---|---|
| committer | Vojta Jina | 2012-03-26 21:14:09 -0700 |
| commit | a08cbc02e78e789a66e9af771c410e8ad1646e25 (patch) | |
| tree | bc7081b11d6d1ed4cd5bde3a9e059e5c964e75a8 /src/ng/document.js | |
| parent | 55027132f3d57e5dcf94683e6e6bd7b0aae0087d (diff) | |
| download | angular.js-a08cbc02e78e789a66e9af771c410e8ad1646e25.tar.bz2 | |
feat($compile): do not interpolate boolean attributes, rather evaluate them
So that we can have non string values, e.g. ng-value="true" for radio inputs
Breaks boolean attrs are evaluated rather than interpolated
To migrate your code, change: <input ng-disabled="{{someBooleanVariable}}">
to: <input ng-disabled="someBooleanVariabla">
Affected directives:
* ng-multiple
* ng-selected
* ng-checked
* ng-disabled
* ng-readonly
* ng-required
Diffstat (limited to 'src/ng/document.js')
0 files changed, 0 insertions, 0 deletions
