angular.js v1.5.1 Release Notes
Release Date: 2016-03-16 // about 8 years ago-
๐ Bug Fixes
- core: only call
console.log
whenwindow.console
exists (ce138f3c, #14006, #14007, #14047) - $compile: allow directives to have decorators (0728cc2f)
- $resource: fix parse errors on older Android WebViews (df8db7b4, #13989)
- $routeProvider: properly handle optional eager path named groups (c0797c68, #14011)
- copy: add support for copying
Blob
objects (e9d579b6, #9669, #14064) - dateFilter: correctly format BC years (e36205f5)
- formatNumber: allow negative fraction size (e046c170, #13913)
- input: re-validate when partially editing date-family inputs (e383804c, #12207, #13886)
- input[date]: support years with more than 4 digits (d76951f1, #13735, #13905)
- ngOptions: always set the 'selected' attribute for selected options (9f5a1722, #14115)
- ngRoute: allow
ngView
to be included in an asynchronously loaded template (8237482d, #1213, #6812, #14088) - ngMock:
- ngMockE2E: pass
responseType
to$delegate
when usingpassThrough
(d16faf9f, #5415, #5783)
๐ Features
- $compile: add custom annotations to the controller (0c800930, #14114)
- $controllerProvider: add a
has()
method for checking the existence of a controller (bb9575db, #13951, #14109) - dateFilter: add support for STANDALONEMONTH in format (
LLLL
) (3e5b25b3, #13999, #14013) - ngMock: add
sharedInjector()
toangular.mock.module
(a46ab60f, #14093, #10238)
๐ Performance Improvements
- core: only call