发布于 2017-02-04 00:21:37 | 101 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的AngularJS开发指南,程序狗速度看过来!

AngularJS 前端JS框架

AngularJS诞生于Google是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、语义化标签、依赖注入,等等。


Angular 2.4.6 和 4.0.0 beta6 发布了,Angular 2.4.6 更新内容:

Bug 修复

  • common: add PopStateEvent interface

  • common: DatePipe does't throw for NaN

  • common: DatePipe parses input string if it's not a valid date in browser

  • common: introduce isObservable method

  • compiler: allow empty translations for attributes

  • core: add bootstrapped modules into platform modules list

  • core: ViewContainerRef.indexOf should not throw error when empty

  • forms: show a blank line when nothing is selected in IE or Edge

  • forms: verify functions passed into async validators returns Observable or Promise

  • ngModel should use rxjs/symbol/observable to detect observable

  • http: remove dots from jsonp callback name

  • i18n: parse ICU messages while normalizing templates

  • language-service: do not crash when Angular cannot be located

  • platform-browser: remove style nodes on destroy

  • router: fix CanActivate redirect to the root on initial load

  • router: should find guard provided in a lazy loaded module

  • router: should allow navigation from root component in ngOnInit hook

  • testing: async/fakeAsync/inject/withModule helpers should pass through context to callback functions

  • upgrade: detect async downgrade component changes

Angular 4.0.0 beta6 更新内容:

重大改进:

  • common:现在需要定义  Iterable<T>  来正确编译 Angular 应用。 在运行时不需要支持  Iterable<T> ,但是类型定义  Iterable<T>  必须可用。

  • NgFor,现在的 NgForOf<T>在运行时已经支持 Iterable<T> 。通过此更改,类型定义会更新以反映此支持。

  • Migration:将 “es2015.iterable.ts” 添加到 tsconfig.json“libs” 字段。

  • Part of #12398:之前 upgrade/static/downgradeInjectable 返回以下形式的数组:

  • ['dep1', 'dep2', ..., function factory(dep1, dep2, ...) { ... }]

    现在它返回一个带有 $inject 属性的函数:

    factory.$inject = ['dep1', 'dep2', ...];  function factory(dep1, dep2, ...) { ... }

完整更新内容请查看发行日志

下载地址:

Angular 2.4.6

Angular 4.0.0 beta6



历史版本 :
Angular 6.0.0-beta.1 和 5.2.2 发布,Web 前端框架
Angular 6.0.0-beta.0 和 5.2.1 发布,Web 前端框架
Angular 5.2 现已发布,Web 前端框架
Angular 5.2.0-rc.0 和 5.1.3 发布,Web 前端框架
Angular 5.2.0-beta.1 和 5.1.2 发布,Web 前端框架
Angular 5.2.0-beta.0 和 5.1.1 发布,Web 前端框架
Angular 5.1.0 正式版发布,Web 前端框架
Angular 5.0.5 和 5.1.0 rc.1 发布,Web 前端框架
Angular 5.0.4 和 5.1.0 rc.0 发布,Web 前端框架
Angular.js 1.6.7 发布,Web 前端框架
Angular 5.0.2 和 5.1.0 beta1 发布,Web 前端框架
Angular 5.0.1 和 5.1.0 beta0 发布,Web 前端框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务