angular.js v0.9.17 Release Notes
Release Date: 2011-06-30 // almost 13 years ago-
๐ New Features
- ๐ New [ng:options] directive to better bind a model to
<select>
and<option>
elements. - ๐ New [ng:disabled], [ng:selected], [ng:checked], [ng:multiple] and [ng:readonly] directives.
- โ Added support for string representation of month and day in [date] filter.
- โ Added support for
prepend()
to [jqLite]. - โ Added support for configurable HTTP header defaults for the [$xhr] service.
๐ Bug Fixes
- Number filter would return incorrect value when fractional part had leading zeros.
- Issue #338: Show error when template with with multiple DOM roots is being compiled.
- Issue #399: return unsorted array if no predicate.
- ๐ Fixed issues with incorrect value of $position in ng:repeat when collection size changes.
- ๐ Fixed JSONP support in [$xhr] which didn't work without jquery since v0.9.13.
๐ Documentation
- ๐ various small fixes and improvements
๐ฅ Breaking changes
- $service now has $service.invoke for method injection ($service(self, fn) no longer works)
- ๐ injection name inference no longer supports method curry and linking functions. Both must be explicitly specified using $inject property.
- ๐ Dynamic iteration (ng:repeat) on
<option>
elements is no longer supported. Use ng:options - Removal of index formatter (
ng:format="index"
) since its only use was with repeated<options>
(see above). - Calling [$orderBy] without a predicate now returns the original unsorted array, instead of ordering by natural order.
- ๐ New [ng:options] directive to better bind a model to