Permalink
Commits on May 25, 2017
  1. fix($parse): always re-evaluate filters within literals when an input…

    … is an object
    
    Fixes #15964
    Closes #15990
    jbedard committed May 12, 2017
Commits on May 24, 2017
  1. test($log): run all $log tests in IE9 & non-IE9 logging mode (#15995)

    In IE 9 console methods don't inherit from Function.prototype and, hence, don't
    have apply. Until recently IE 9 logging in AngularJS was restricted to the
    first 2 parameters but that changed as we could just reuse
    Function.prototype.apply everywhere, creating one code path for all browsers.
    Therefore, we can now run all tests in modes where apply exists on logging
    methods and where it doesn't.
    
    Ref #15911
    Ref b277e3e
    Closes #15995
    mgol committed on GitHub May 24, 2017
Commits on May 22, 2017
  1. fix(*): correctly detect Error instances from different contexts

    Previously, errors thrown from different contexts (such as an iframe or
    webworker) were not detected as `Error` instances and handled accordingly.
    This commit fixes it by introducing an `isError()` helper, that is able to
    correctly detect such instances.
    
    Fixes #15868
    
    Closes #15872
    graingert committed with gkalpak Mar 30, 2017
  2. docs(guide/component): remove redundant empty controller from example

    There is no need for empty controller functions on components, since this is the
    default.
    
    Closes #16003
    sercaneraslan committed with gkalpak May 21, 2017
Commits on May 19, 2017
  1. fix(orderBy): guarantee stable sort

    If a user-provided comparator fails to differentiate between two items, fall
    back to the built-in comparator (using the tie-breaker predicate).
    
    Fixes #14881
    
    Closes #15914
    BobChao87 committed with gkalpak May 15, 2017
Commits on May 17, 2017
  1. chore(*): update protractor

    Update protractor to latest 5.1.2 to make it work with Chrome 58 on Jenkins.
    This protractor version is not compatible with FF 53 and directConnect, but this should be irrelevant as Travis does not use directConnect and on Jenkins we don't test FF.
    
    Closes #15991
    Narretz committed on GitHub May 17, 2017
Commits on May 15, 2017
  1. chore(ci): disable unit testing on Firefox

    Related to #15987
    
    Closes #15988
    Narretz committed on GitHub May 15, 2017
Commits on May 12, 2017
  1. docs(*): fix dangling links

    Closes #15984
    gkalpak committed May 11, 2017
Commits on May 11, 2017
  1. docs(ngRepeat): fix argument name in comment to match actual argument…

    … (element --> clone)
    
    Closes #15975
    tsclaus committed with gkalpak May 9, 2017
Commits on May 10, 2017
  1. chore(*): update jasmine-core to 2.5.2

    This might resolve an issue where Firefox 51+ fails on Jenkins at this
    test: https://github.com/angular/angular.js/blob/8a89586bede0256494cb3027d856f1ebf592afde/test/ng/directive/ngOptionsSpec.js#L2891
    
    The failure can also be reproduced locally when running the whole test suite with the
    Firefox window unfocused. With 2.5.2, the failure happens too, but much less
    frequent.
    
    Latest jasmine (2.6.2) has problems with some browsers, see here:
    jasmine/jasmine#1327
    
    Closes #15978
    Narretz committed on GitHub May 10, 2017
  2. docs(errors/badjsonp): fix typo

    Closes #15977
    graveto committed with Narretz May 10, 2017
Commits on May 9, 2017
  1. test(*): run class-related tests everywhere; fix eval syntax

    1. Wrap an evaled class definition in parens; previously they weren't; the test
       wasn't failing only because it was disabled everywhere outside of Chrome
       and Chrome <59 incorrectly accepted such input.
    2. There's no reason to restrict class-related tests just to Chrome; now they
       run in every browser that supports ES6 classes. The classes support test
       was modified to check not only if a class definition parses but also if
       it stringifies correctly which is required by AngularJS. This restriction
       disables class-related tests in current Firefox (53) but will work in v55
       or newer.
    
    Closes #15967
    mgol committed on GitHub May 9, 2017
Commits on May 7, 2017
  1. fix(httpParamSerializerJQLike): Follow jQuery for `null` and `undefined`

    Follow jQuery when serializing `null` and `undefined`.
    
    Closes: #15969
    Closes: #15971
    lgalfaso committed May 7, 2017
Commits on May 6, 2017
  1. chore(*): update all Karma-related packages except Karma

    The updated karma-chrome-launcher adds support for ChromeHeadless &
    ChromeCanaryHeadless launchers; test with:
    
        karma start karma-jqlite.conf.js --browsers=ChromeCanaryHeadless
    
    The updated karma-firefox-launcher disables multi-process which may increase
    stability on Jenkins.
    
    Closes #15966
    mgol committed on GitHub May 6, 2017
Commits on May 4, 2017
Commits on May 2, 2017
Commits on Apr 28, 2017
  1. feat($animate): add support for `customFilter`

    This commit adds a new `customFilter()` function on `$animateProvider` (similar
    to `classNameFilter()`), which can be used to filter animations (i.e. decide
    whether they are allowed or not), based on the return value of a custom filter
    function.
    This allows to easily create arbitrarily complex rules for filtering animations,
    such as allowing specific events only, or enabling animations on specific
    subtrees of the DOM, etc.
    
    Fixes #14891
    gkalpak committed Jul 15, 2016
  2. docs(guide/animations): list missing animated directives (and other i…

    …mprovements)
    
    - List missing animation-aware directives.
    - Fix/Improve wording/formatting.
    - Fix typos.
    - Limit lines to 100 chars.
    gkalpak committed Jan 10, 2017
Commits on Apr 27, 2017
  1. fix(angular-loader): do not depend on "closure" globals that may not …

    …be available
    
    Code that is distributed as part of both `angular.js` and `angular-loader.js`
    should not depend on "closure" globals that may not be available in
    `angular-loader`.
    
    Fixes #15880
    
    Closes #15881
    gkalpak committed Apr 2, 2017
  2. feat(select): expose info about selection state in controller

    This allows custom directives to manipulate the select's and
    ngModel's behavior based on the state of the unknown and
    the empty option.
    
    Closes #13172
    Closes #10127
    Narretz committed with Narretz Apr 25, 2017
  3. fix(ngOptions): allow empty option to be removed and re-added

    This bug was reported as part of angular/angular.js#15801
    pbr1111 committed with Narretz Mar 17, 2017
  4. chore(docs-app): fix vertical scrolling offset after recent re-design

    Previously, the `yOffset` pointed to the `<header>` element, which had a height
    of 0 (since all its children have fixed positions). This caused scrolled items
    to have 0 vertical offset, essentially hiding the top part behind the static
    `<nav>` items.
    This commit fixes the vertical scrolling offset, by setting `yOffset` to the
    last (lowest) `<nav>` item.
    
    Closes #15945
    gkalpak committed Apr 27, 2017
Commits on Apr 26, 2017
Commits on Apr 25, 2017
  1. refactor($injector): require standard class stringification

    ES6 classes now require Edge 14 or newer to work.
    
    Closes #15911
    mgol committed Apr 12, 2017