Angular.Js v1.6.0-rc.0 下载,AngularJS是一款开源的JavaScript MV*(MVW、MVVM、MVC)框架,目前由Google维护。AngularJS弥补了HTML在构建应用方面的不足,其通过使用标识符(directives)结构,来扩展Web应用中的HTML词汇,使开发者可以使用HTML来声明动态内容,从而使得Web开发和测试工作变得更加容易。AngularJS最初由Miško Hevery和Adam Abrons于2009年开发,后来成为了Google公司的项目。
更新日志
Bug 修复
- input: fix
stepvalidation forinput[type=number]/input[type=range](081d06 #15257) - jqLite:
- $parse:
- ngModel: treat synchronous validators as boolean always (7bc71a #14734)
- $q: treat thrown errors as regular rejections (e13eea #3174 #15213)
- ngTransclude: use fallback content if only whitespace is provided (32aa7e #15077)
- $compile:
- don't throw tplrt error when there is a whitespace around a top-level comment (76d3da #15108)
- disallow linking the same element more than once (1e1fbc)
- lower the $sce context for src on video, audio, and track. (ad9a99)
- correctly merge consecutive text nodes on IE11 (13c252 #14924)
- secure
link[href]as aRESOURCE_URLs in$sce. (04cad4 #14687) - don't add leading white-space in attributes for a specific merge case (305ba1)
- don't trim white-space in attributes (97bbf8 #5513 #5597)
- move check for interpolation of on-event attributes to compile time (b89c21 #13267)
- select:
- select, ngOptions: make the handling of unknown / empty options consistent (2785ad)
- ngValue: set the element's value property in addition to the value attribute (e6afca #14031)
- aria/ngModel: do not overwrite the default
$isEmpty()method for checkboxes (975a61 #14621) - $resource:
- $http:
- ngMock: trigger digest in
$httpBackend.verifyNoOutstandingRequest()(267ee9 #13506) - ngAria:
- ngBind: use same string representation as
$interpolate(fa80a6) - ngMock/$httpBackend: fail if a url is provided but is
undefined(7551b8 #8442 #10934) - $route: don't process route change controllers and templates for
redirectToroutes (7f4b35 #3332) - loader:
module.decoratororder of operations is now irrelevant (6a2ebd #12382) - ngAnimate: make svg elements work with
classNameFilter(81bf7e)
新功能
- jqLite:
- implement
jqLite(f)as alias tojqLite(document).ready(f)(369fb7) - don't throw for elements with missing
getAttribute(4e6c14) - don't remove a boolean attribute for
.attr(attrName, '')(3faf45) - remove the attribute for
.attr(attribute, null)(4e3624) - return
[]for.val()on<select multiple>with no selection (d882fd)
- implement
- $http:
- ngModelOptions: allow options to be inherited from ancestor
ngModelOptions(87a2ff #10922) - input: add support for binding to
input[type=range](913016 #5892 #14870) - ngRoute: allow
ngViewto be included in an asynchronously loaded template (c13c66 #1213) - select: support values of any type added with
ngValue(f02b70 #9842) - $interpolate: use custom
toString()function if present (a5fd2e #7317 #11406) - $route: implement
resolveRedirectTo(e98656 #5150) - input[type=radio]: allow
ngTrimto work forinput[type=radio](47724b) - $q: report promises with non rejection callback (c9dffd #13653 #7992)
- $location: default hashPrefix to
'!'(aa077e #13812)
性能改进
- form, ngModel: change controllers to use prototype methods (9e24e7)
- select: don't prepend unknown option if already prepended (ba36bd)
- $animate: listen for document visibility changes (d71dc2)
- injector: cache the results of the native class detection check (5ceb5d)
- $parse: Inline constants (bd7d5f)
- $compile: use strict comparison for
controller === '@'(bbd3db) - $parse: remove Angular expression sandbox (1547c7 #15094)
下载
如何在 AngularJS 中对控制器进行单元测试 http://www.linuxidc.com/Linux/2013-12/94166.htm
在 AngularJS 应用中通过 JSON 文件来设置状态 http://www.linuxidc.com/Linux/2014-07/104083.htm
AngularJS 之 Factory vs Service vs Provider http://www.linuxidc.com/Linux/2014-05/101475.htm
AngularJS —— 使用 ngResource、RESTful APIs 和 Spring MVC 框架提交数据 http://www.linuxidc.com/Linux/2014-07/104402.htm
AngularJS 的详细介绍:请点这里
AngularJS 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-10/136469.htm
