AngularJS 1.5.0-rc.1 发布,HTML 的 Web 框架

jopen 5年前


AngularJS 1.5.0-rc.1 发布,HTML 的 Web 框架

AngularJS 1.5.0-rc.1 发布,此版本更新内容如下:

重大改进:

新特性:

  • $compile:

    • Allow ES6 classes as controllers withbindToController: true(8955cfb6)

    • Allow ES6 classes as controllers withbindToController: true(b0248b78)

  • $compileProvider: allowcomponent()helper to copy over custom annotations (90975db5,#13741)

  • $injector: support instantiating classes. (8b6b4282)

  • component:

  • 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 

来自: http://www.oschina.net//news/69916/angularjs-1-5-0-rc1