Skip to content
Permalink
Tag: v1.5.1
Commits on Mar 14, 2016
  1. docs(guide/location): include section on base[href]

    petebacondarwin committed Mar 14, 2016
    Closes #14018
Commits on Mar 13, 2016
  1. feat($parse): Allow user-defined literals

    lgalfaso committed Mar 7, 2016
    Allow user-defined literals.
    
    Close: #9504
    Close: #9492
    Close: #14194
Commits on Mar 11, 2016
  1. docs(guide/Component Router): adjust the order in the menu

    greggunner authored and Narretz committed Mar 10, 2016
    Component Router should come after the menu topic Components as Components should be understood first
    before Component Routers. This made it easier to read the Component Routers topic.
    
    Closes #14214
  2. chore: streamline issue/pr templates

    Narretz committed Mar 10, 2016
    Removes the bullet points and makes all prompts bold,
    which should make it easier to see which content has been
    added by the issue author
  3. docs(guide/component): use `ctrl` instead of this (for consistency)

    tkorakas authored and gkalpak committed Mar 10, 2016
    Closes #14215
Commits on Mar 8, 2016
  1. docs(guide/unit-testing): fix typo

    gordonmzhu authored and gkalpak committed Mar 8, 2016
    Closes #14198
Commits on Mar 7, 2016
  1. refactor(*): use toBeUndefined consistently

    m-amr authored and petebacondarwin committed Mar 6, 2016
    Closes #14185
    Fixes #14184
Commits on Mar 4, 2016
  1. docs(guide/component-router): initial draft for component router 0.2.0

    petebacondarwin committed Feb 22, 2016
    Closes #14131
  2. docs($provide): clarify value and constant injectability

    Narretz committed Mar 4, 2016
    Closes #14168
Commits on Mar 2, 2016
  1. docs(ngModel.NgModelController): fix typo

    cironunes authored and Narretz committed Mar 1, 2016
    Closes #14157
Commits on Mar 1, 2016
  1. feat(ngMock): add sharedInjector() to angular.mock.module

    timruffles authored and petebacondarwin committed Feb 20, 2016
    Allow to opt-in to using a shared injector within a context. This allows  hooks to be
    used in Jasmine 2.x.x/Mocha
    
    Closes #14093
    Closes #10238
Commits on Feb 29, 2016
  1. refactor(*): move noop functions to `angular.noop`

    ivomju authored and Narretz committed Feb 29, 2016
    Closes #14151
  2. docs(errorDisplay): encode `<` and `>` in error messages

    gkalpak authored and Narretz committed Feb 13, 2016
    When an error message contains an HTML string (e.g. `$location:nobase` containing `<base>`), it was
    interpreted as a literal HTML element, instead of text. Error messages are not expected to render
    as HTML, but we still need to use `.html()` in `errorDisplay`, so that the links created by
    `errorLinkFilter` are properly displayed.
    This commit solves this issue by replacing `<`/`>` with `&lt;`/`&gt;`.
    
    Related to #14016.
  3. refactor($compile): move setup/get controller methods out of the comp…

    jbedard authored and Narretz committed Jan 23, 2016
    …ile node closure
    
    Closes #13427
Commits on Feb 28, 2016
  1. docs($http): fix typo in link text (TransformationjqLiks --> Transfor…

    nhashmi authored and gkalpak committed Feb 28, 2016
    …mations)
    
    Closes #14149
  2. fix(ngOptions): always set the 'selected' attribute for selected options

    Narretz committed Feb 24, 2016
    We don't set selected property / attribute on options that are already selected.
    That happens for example if the browser has automatically selected the first
    option in a select. In that case, the selected property is set automatically, but
    the selected attribute is not. This doesn't impact the functionality of the select,
    but it can be problematic if option elements are selected with `option[selected]` in tests.
    
    Closes #14115
    Closes #14125
  3. docs(guide/Interpolation): fix code example

    greggunner authored and Narretz committed Feb 27, 2016
    The function getForm is receiving a variable from the view and should be using that.
    
    Closes #14142
  4. docs(guide/Components): add missing $ctrl

    mattjanssen authored and Narretz committed Feb 26, 2016
    docs(guide/Components): add missing $ctrl
    
    The new component example does not work as is. It needs a missing reference to $ctrl.
    
    Closes #14138
    
    Closes #14143
  5. docs(guide/Services): improve the code example

    thorn0 authored and Narretz committed Feb 26, 2016
    A factory that doesn't return anything is a bad example of a factory.
    
    Closes #14139
  6. docs(guide/Templates): add title for consistency

    greggunner authored and Narretz committed Feb 27, 2016
    Closes #14141
  7. docs(guide/interpolation): make some minor improvements, add info

    Narretz committed Feb 28, 2016
    - highlight that interpolation inside expressions is bad practice
    - add info about type attr in buttons in IE
  8. docs(guide/Filters): add title for consistency

    greggunner authored and Narretz committed Feb 27, 2016
    Closes #14143
Commits on Feb 25, 2016
  1. refactor($compile): Create non-descriptive comments when debugInfoEna…

    lgalfaso committed Feb 25, 2016
    …bled is false
    
    When debugInfoEnabled is `false` when comments generated by transclusions, ngIf,
    ngRepeat and ngSwitch will not contain any information about the directive nor
    the expression associated with it.
    
    Closes: #8722
  2. fix(ngRoute): allow `ngView` to be included in an asynchronously load…

    gkalpak committed Feb 19, 2016
    …ed template
    
    During it's linking phase, `ngView` relies on the info provided in `$route.current` for
    instantiating the initial view. `$route.current` is set in the callback of a listener to
    `$locationChangeSuccess`, which is registered during the instantiation of the `$route` service.
    
    Thus, it is crucial that the `$route` service is instantiated before the initial
    `$locationChangeSuccess` is fired. Since `ngView` declares `$route` as a dependency, the service is
    instantiated in time if `ngView` is present during the initial load of the page.
    
    Yet, in cases where `ngView` is included in a template that is loaded asynchronously (e.g. in
    another directive's template), the directive factory might not be called soon enough for `$route`
    to be instantiated before the initial `$locationChangeSuccess` event is fired.
    
    This commit fixes it, by always instantiating `$route` up front, during the initialization phase.
    
    Fixes #1213
    Fixes #6812
    
    Closes #14088
Commits on Feb 24, 2016
  1. docs($http): add a note about modifying data in transformRequest

    Narretz committed Feb 24, 2016
    Closes #12468
  2. docs(guide/security): provide more information about security features

    petebacondarwin committed Feb 24, 2016
    Thanks to Jim Manico for help updating this guide.
  3. docs(guide/Internet Explorer Compatibility): Add ng-attr-type workaro…

    SteveShaffer authored and petebacondarwin committed Feb 23, 2016
    …und for buttons in IE
    
    Closes #14117
    Closes #14119
  4. chore(ISSUE_TEMPLATE): fix typo in ISSUE_TEMPLATE

    Foxandxss authored and petebacondarwin committed Feb 24, 2016
    Closes #14121
Commits on Feb 23, 2016
  1. feat($controllerProvider): add a `has()` method for checking the exis…

    Vadorequest authored and gkalpak committed Feb 22, 2016
    …tence of a controller
    
    Fixes #13951
    
    Closes #14109
  2. fix(ngMock): don't break if `$rootScope.$destroy()` is not a function

    gkalpak committed Feb 22, 2016
    Previously, `angular-mocks` was calling `$rootScope.$destroy()` after each test as part of it's
    cleaning up, assuming that it was always available. This could break if `$rootScope` was mocked
    and the mocked version didn't provide the `$destroy()` method.
    This commit prevents the error by first checking that `$rootScope.$destroy` is present.
    
    Fixes #14106
    
    Closes #14107
  3. feat($compile): add custom annotations to the controller

    petebacondarwin committed Feb 23, 2016
    This means that we can access these annotations, such as
    `$routeConfig` and `$routerCanActivate` without highjacking
    the `ng` module.
    
    Closes #14114
Older
You can’t perform that action at this time.