AngularJS 1.3.0 发布了第三个 RC 版本,改进记录包括:
Bug Fixes
ngModel: support milliseconds in time and datetime (4b83f6ca,#8874)
Features
$location: add ability to opt-out of tag requirement in html5Mode (dc3de7fb,#8934)
formController: add $setUntouched to propagate untouched state (fd899755,#9050)
input: support dynamic element validation (729c238e,#4791, #1404)
ngAria: add an ngAria module to make a11y easier (d1434c99,#5486)
Performance Improvements
map: use Array.prototype.map (a591e8b8)
Breaking Changes
$location: due to dc3de7fb, The $location.html5Mode API has changed to allow enabling html5Mode by passing an object (as well as still supporting passing a boolean). Symmetrically, the method now returns an object instead of a boolean value.
To migrate, follow the code example below:
Before:
var mode = $locationProvider.html5Mode();
After:
var mode = $locationProvider.html5Mode().enabled;
Fixes #8934
Angular JS (Angular.JS) 是一组用来开发Web页面的框架、模板以及数据绑定和丰富UI组件。它支持整个开发进程,提供web应用的架构,无需进行手工DOM操作。AngularJS很小,只有60K,兼容主流浏览器,与 jQuery 配合良好。
软件详情:https://github.com/angular/angular.js
来自:开源中国社区

