AngularJS 今天发布两个更新版本,分别是 1.3.14 和 1.4 Beta5 。 其中 1.3.14 更新内容如下: 新特性 CommonJS: - angular modules are now packaged for npm with helpful exports Bug 修复 input: create max and/or min validator regardless of initial value (abfce532,#10307, #10327) ngAria: correctly set "checked" attr for checkboxes and radios (944c150e,#10389, #10212) ngModel: fix issues when parserName is same as validator key (6b7625a0,#10698, #10850, #11046) 1.4 Beta5 更新内容如下: Bug 修复 $http: properly access request headers with mixed case (5da1256f,#10881, #10883) input: create max and/or min validator regardless of initial value (c211e7a5,#10307, #10327) ngAria: correctly set "checked" attr for checkboxes and radios (d6eba217,#10389, #10212) ngModel: fix issues when parserName is same as validator key (056a3170,#10698, #10850, #11046) ngOptions: ngModel is optional (ef894c87) ngSanitize: Do not ignore white-listed svg camelCased attributes (46b80654,#10779, #10990, #11124) select: remove unknown option when model is undefined and empty option is available (30b48132,#11078, #11092) templateRequest: avoid throwing syntax error in Android 2.3 (f6272333,#11089, #11051, #11088) 新特性 CommonJS: - angular modules are now packaged for npm with helpful exports limitTo: extend the filter to take a beginning index argument (aaae3cc4,#5355, #10899) ngMessages: provide support for dynamic message resolution (c9a4421f,#10036, #9338) ngOptions: add support for disabling an option (da9eac86,#638, #11017) 性能提升 $compile: replace forEach(controller) with plain loops (5b522867,#11084) avoid .data when fetching required controllers (fa0aa839) ngOptions: only watch labels if a display expression is specified (51faaffd) 重大改进 ngMessages: due to c9a4421f, 更多改进内容请看更新日志。 AngularJS (Angular.JS) 是一组用来开发Web页面的框架、模板以及数据绑定和丰富UI组件。它支持整个开发进程,提供web应用的架构,无需进行手工DOM操作。 AngularJS很小,只有60K,兼容主流浏览器,与 jQuery 配合良好。 AngularJS 1.3.14/1.4.0 Beta5 发布下载地址