AngularJS 1.4.5 发布,此版本最主要的改进是:ngModel: due to 0e001084。此外还有大量的 bug 修复: $animate: $animate.enabled(false) should disable animations on $animateCss as well (c3d5e33e,#12696, #12685) $animateCss: do not throw errors when a closing timeout is fired on a removed element (2f6b6fb7,#12650) fix parse errors on older Android WebViews (1cc9c9ca,#12610) properly handle cancellation timeouts for follow-up animations (d8816731,#12490, #12359) ensure failed animations clear the internal cache (0a75a3db,#12214, #12518, #12381) the transitions options delay value should be applied before class application (0c81e9fd,#12584) ngAnimate: use requestAnimationFrame to space out child animations (ea8016c4,#12669, #12594, #12655, #12631, #12612, #12187) only buffer rAF requests within the animation runners (dc48aadd,#12280) ngModel: validate pattern against the viewValue (0e001084,#12344) ngResources: support IPv6 URLs (b643f0d3,#12512, #12532) 下载:https://github.com/angular/angular.js/archive/v1.4.5.zip。 Angular JS (Angular.JS) 是一组用来开发Web页面的框架、模板以及数据绑定和丰富UI组件。它支持整个开发进程,提供web应用的架构,无需进行手工DOM操作。 AngularJS很小,只有60K,兼容主流浏览器,与 jQuery 配合良好。 数据绑定可能是AngularJS最酷最实用的特性。它能够帮助你避免书写大量的初始代码从而节约开发时间。一个典型的web应用可能包含了80%的代码用来处理,查询和监听DOM。数据绑定使得代码更少,你可以专注于你的应用。 传 统来说,当model变化了。 开发人员需要手动处理DOM元素并且将属性反映到这些变化中。这个一个双向的过程。一方面,model变化驱动了DOM中元素变化,另一方面,DOM元素 的变化也会影响到Model。这个在用户互动中更加复杂,因为开发人员需要处理和解析这些互动,然后融合到一个model中,并且更新View。这是一个 手动的复杂过程,当一个应用非常庞大的时候,将会是一件非常费劲的事情。 AngularJS 1.4.5 发布,HTML 的 Web 框架下载地址