AngularJS 1.5.0-rc.1 发布,此版本更新内容如下:
重大改进:
$compileProvider: due to 25bc5318,
linky: due to 98c2db7f,
loader: due to 6a47c0d7,
新特性:
$compile:
Allow ES6 classes as controllers with bindToController: true(8955cfb6)
Allow ES6 classes as controllers with bindToController: true(b0248b78)
$compileProvider: allow component() helper to copy over custom annotations (90975db5,#13741)
$injector: support instantiating classes. (8b6b4282)
component:
default controllerAs to be $ctrl (d91cf167,#13664, #13710)
disallow non-isolate scopes (f31c5a39,#13710)
ngMock: add support for $animate.closeAndFlush()(e1def1b8,#13005, #13576, #13707)
ngMock.$componentController: add helper to instantiate controllers for components (dd14e0c4,#13683, #13711)
此外还有大量的 bug 修复。
软件详情:https://github.com/angular/angular.js/blob/master/CHANGELOG.md
下载地址:https://github.com/angular/angular.js/archive/v1.5.0-rc.1.zip
来自:开源中国社区

