Angular.js v1.5.6 发布了。 Bug 修复: $browser: set the url even if the browser transforms it (743b33ab,#14427, #14499) $compile: properly bind context to linking functions for directives with templateUrl(5ae72dc7) always use the DDO as this in pre-/post-linking functions (47bc98a1,#9306) don't run unnecessary update to one-way bindings (30479647,#14546, #14580) removing unnecessary white space in element-transclusion comments (1116a96d,#14549, #14550) properly handle setting srcset to undefined (308f22ba,#14470, #14493) $injector: add workaround for class stringification in Chrome v50/51 (7550b7bd,#14531) add workaround for fat-arrow stringification in Chrome v50/51 (bb730704,#14487, #14495) $templateRequest: trust empty templates in $templateCache as well (10955969,#14479, #14496) filters: always call splice() with 2 arguments or more (6f1fae8a,#14467, #14489) ng-bind-html: watch the unwrapped value using $sce.valueOf() (instead of toString()) (1c1c9b27,#14526, #14527) ngAnimate: don't break on anchored animations without duration (21b76aed,#14641, #14645) properly handle empty jqLite collections (9f480257,#14558, #14559) ngMessages: do not compile ngMessagesInclude template if scope is destroyed (69d9072d,#12695, #14640) ngMock: match HTTP request regardless of the order of query params (363fb16c,#12762) pass eventHandlers to $httpBackend if passThrough is active (147650b3,#14471) 新增特性: $compile: support omitting required controller name if same as the local name (8965d57a,#14513) $parse: Add support for ES6 object initializers (1c9b9e24) 平台支持: $rootScope: make queues more efficient (51b78f61,#14545) ngAnimate: listen for document visibility changes (b377d6b0,#14568) ngClass: improve even-odd checking (cf1b1755) 下载地址: https://github.com/angular/angular.js/releases/tag/v1.5.6 Angular.js v1.5.6 发布下载地址