AngularJS 1.3.15/1.4.0 Beta6 发布,更新内容如下: 1.4.0-beta.6 cookie-liberation (2015-03-17) Bug 修复 $animate: call applyStyles from options on leave(4374f892,#10068) $browser: don't crash if history.state access causes error in IE (3b8163b7,#10367, #10369) $sanitize: disallow unsafe svg animation tags (67688d5c,#11290) Angular: properly compare RegExp with other objects for equality (f22e1fc9,#11204, #11205) date filter: display localised era for G format codes (2b4dfa9e,#10503, #11266) filterFilter: fix filtering using an object expression when the filter value is undefined (c62fa6bd,#10419, #10424) do not throw an error if property is null when comparing objects (2c4ffd6a,#10991, #10992, #11116) form: allow dynamic form names which initially evaluate to blank (410f7c68) jqLite: attr should ignore comment, text and attribute nodes (bb5bf7f8) ng/$locale: add ERA info in generic locale (4acb0af2) ngJq: don't rely on existence of jqlite (342e5f3c,#11044) ngMessages: ensure that multi-level transclusion works with ngMessagesInclude(d7ec5f39,#11196) ngOptions: fix model<->option interaction when using track by(6a03ca27,#10869, #10893) rootScope: prevent memory leak when destroying scopes (fb7db4a0,#11173, #11169) 新特性 $cookies: allow passing cookie options (92c366d2,#8324, #3988, #1786, #950) move logic into $cookies and deprecate $cookieStore (38fbe3ee,#6411, #7631) $cookiesProvider: provide path, domain, expires and secure options (53c66369) $interval: pass additional arguments to the callback (4f1f9cfd,#10632) $timeout: pass additional arguments to the callback (3a4b6b83,#10631) angular.merge: provide an alternative to angular.extend that merges 'deeply' (c0498d45,#10507, #10519) filterFilter: compare object with custom toString() to primitive (f8c42161,#10464, #10548) ngAria: add button role to ngClick(bb365070,#9254, #10318) add roles to custom inputs (29cdaee2,#10012, #10318) ngLocale: Add FIRSTDAYOFWEEK and WEEKENDRANGE from google data (3d149c7f) ngMock: allow mock $controller service to set up controller bindings (d02d0585,#9425, #11239) add they helpers for testing multiple specs (e650c458,#10864) ngModel: support conversion to timezone other than UTC (0413bee8,#11005) 重大改进 $cookies: due to 38fbe3ee, $cookies 不再揭露属性,不会显示当前浏览器的 cookie 值。 1.3.15 locality-filtration (2015-03-17) Bug 修复 $animate: call applyStyles with options on leave(ebd84e80,#10068) $browser: don't crash if history.state access causes error in IE (92767c09,#10367, #10369) Angular: properly compare RegExp with other objects for equality (b8e8f9af,#11204, #11205) date filter: display localised era for G format codes (f2683f95,#10503, #11266) filterFilter: fix filtering using an object expression when the filter value is undefined(63b9956f,#10419, #10424) do not throw an error if property is null when comparing objects (01161a0e,#10991, #10992, #11116) form: allow dynamic form names which initially evaluate to blank (190ea883,#11096) ng/$locale: add ERA info in generic locale (57842530) rootScope: prevent memory leak when destroying scopes (528cf09e,#11173, #11169) templateRequest: avoid throwing syntax error in Android 2.3 (75abbd52,#11089, #11051, #11088) 新特性 ngAria: add button role to ngClick(b9ad91cf,#9254, #10318) add roles to custom inputs (21369943,#10012, #10318) ngMock: allow mock $controller service to set up controller bindings (b3878a36,#9425, #11239) add they helpers for testing multiple specs (7288be25,#10864) 现已提供下载: https://github.com/angular/angular.js/archive/v1.3.15.zip https://github.com/angular/angular.js/archive/v1.4.0-beta.6.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.3.15/1.4.0 Beta6 发布下载地址