Angular.js v1.5.0 beta.2 发布，更新内容如下：
do not convert to string computed properties multiple times (20cf7d5e)
input: remove workaround for Firefox bug (b366f035)
isArrayLike: handle jQuery objects of length 0 (773efd08)
ensure that jqlite->jqlite and DOM->DOM (75292a6c)
callback detection should only use RAF when necessary (8b27c3f0)
Allow specifying a decorator on $injector (29a05984)
ngAnimate: introduce ngAnimateSwap directive (78297d25)
use static jquery data method to avoid creating new instances (9b90c32f)
Lazily compile the
$interpolate: provide a simplified result for constant expressions (cf83b4f4)
avoid regex in isTypedArray (c8768d12)
$sanitize: due to 181fc567, The svg support in is now an opt-in option
Applications that depend on this option can use to turn the option back on, but while doing so, please read the warning provided in the documentation for information on preventing click-hijacking attacks when this option is turned on.
ngMessage: due to 4971ef12,
ngMessage is now compiled with a priority of 1, which means directives on the same element as ngMessage with a priority lower than 1 will be applied when ngMessage calls the $transclude function. Previously, they were applied during the initial compile phase and were passed the comment element created by the transclusion of ngMessage. To restore this behavior, custom directives need to have their priority increased to at least "1".
ngOptions: due to ded25187,
ngOptions will now throw if
ngModel is not present on the
selectelement. Previously, having no
fail, which could lead to hard to debug errors. The change should
therefore not affect any applications, as it simply makes the
requirement more strict and alerts the developer explicitly.
orderByFilter: due to 2a85a634,
Previously, an non array-like input would pass through the orderBy filter
Now, an error is thrown. This can be worked around by converting an object
to an array, either manually or using a filter such ashttps://github.com/petebacondarwin/angular-toArrayFilter.
undefined still pass through without an error, in order to
support asynchronous loading of resources.)
Closes #11255 Closes #11719