|
欢迎加入运维网交流群:263444886
AngularJS 1.5.0-rc.1 发布,此版本更新内容如下:
重大改进:
- $compileProvider: due to 25bc5318,
- linky: due to 98c2db7f,
- loader: due to 6a47c0d7,
新特性:
- $compile:
- Allow ES6>bindToController: true(8955cfb6)
- Allow ES6>bindToController: true(b0248b78)
- $compileProvider: allow component() helper to copy over custom annotations(90975db5,#13741)
$injector: support instantiating>
- 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/archive/v1.5.0-rc.1.zip |
|
|