Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 3, 2015
  1. @wesleycho

    Merge pull request #2226 from wesleycho/fix/ie9

    wesleycho authored
    fix(urlRouter): add check using `$sniffer`
    
    Fixes #2221
  2. @wesleycho
  3. @wesleycho

    fix(urlRouter): add check using `$sniffer`

    wesleycho authored
    - Add additional check for situations where `pushState` is not properly supported
  4. @nateabele

    Merge pull request #2224 from epps/patch-1

    nateabele authored
    docs(sample): change from plural 'states' to singular 'state'
  5. @epps
Commits on Aug 26, 2015
  1. @nateabele

    Merge pull request #2212 from scooper91/statechangestart-options

    nateabele authored
    feat($stateChangeStart): Add options to event
  2. @scooper91

    feat($stateChangeStart): Add options to event

    scooper91 authored
    - Add options as a 5th parameter to the $stateChangeStart event
    - As per #1620
Commits on Aug 25, 2015
  1. @nateabele

    Merge pull request #2198 from jshado1/1902

    nateabele authored
    fix(UrlMatcherFactory): Correct trailing slash of terminal optional parameter
  2. @nateabele

    Merge pull request #2202 from pkt-zer0/master

    nateabele authored
    $stateParams reset between tests
  3. @pkt-zer0

    fix($stateParams): service instance reset between tests

    pkt-zer0 authored
    A fresh object is created each time $stateParams is initialized, instead of reusing the same instance. This prevents leaking state between unit tests.
  4. @jshado1
Commits on Aug 19, 2015
  1. @nateabele
  2. @nateabele

    Merge pull request #2065 from eddiemonge/issue_2064

    nateabele authored
    fix(urlMatcherFactory): include the slash in squashed params
  3. @nateabele

    Merge pull request #2187 from angular-ui/ui-state-directive

    nateabele authored
    feat(uiState): add ui-state directive
  4. @nateabele

    feat(uiState): add ui-state directive

    nateabele authored
     - Refactor StateRefDirective for better modularity
     - Drop key restrictions on ui-sref-opts
     - Improves performance over prior implementation with no extra $eval()’s
    
    Fixes #395, #900, #1932
Commits on Aug 11, 2015
  1. @nateabele

    Merge pull request #2003 from metamatt/matt-view-load-events

    nateabele authored
    fix(ui-view): change $viewContentLoading to pair with $viewContentLoaded
Commits on Jul 18, 2015
  1. @christopherthielen
Commits on Jun 26, 2015
  1. @eddiemonge

    fix(urlMatcherFactory): include the slash in squashed params

    eddiemonge authored
    Squashed params were ignoring a missing slash before the param so things
    like /users123 would match /url/:id
    
    Fixes #2064
Commits on Jun 11, 2015
  1. @nateabele

    Merge pull request #2012 from joshuahiggins/master

    nateabele authored
    feat(uiSrefActive): allow active & active-eq on same element
Commits on Jun 4, 2015
  1. @joshuahiggins
Commits on May 29, 2015
  1. fix(ui-view): change $viewContentLoading to pair with $viewContentLoaded

    Matt Ginzton authored
    The old $viewContentLoaded event wasn't needed for the one internal
    client (ui-view) because ui-view always ignores that event and acts on
    a $stateChangeSuccess event that follows right behind anyway.
    
    And it wasn't as useful to external clients as it could be because
    it wasn't delivered on every view update -- it was delivered only
    on state transitions that activate a state defining a view, and
    didn't deal with inheritance.
    
    Also, neither $viewContentLoading nor $viewContentLoaded events
    contained the name of the view loading or loaded.
    
    This change makes $viewContentLoading and $viewContentLoaded be
    emitted always in pairs, before/after updateView does the work of
    actually loading the view, and both events include the name of the
    view being loaded.
    
    This is a breaking change for users of the old $viewContentLoading
    event that relied on it being broadcast from the root scope, the
    precise time it was broadcast, the fact that it wasn't always sent
    when a view is loaded even if $viewContentLoaded will be sent, or the
    "options" parameter that was emitted with it. If people rely on any of
    that behavior and we can't break it, then we can restore the old
    behavior but I think there needs to be some other event which is
    reliably paired with $viewContentLoaded and contains the view name,
    and I can't think of a better name than $viewContentLoading for that
    event.
    
    Closes #685.
Commits on May 20, 2015
  1. @nateabele @eddiemonge
  2. @nateabele

    Merge pull request #1969 from eddiemonge/contrib

    nateabele authored
    docs(repo): updated contributing label images
  3. @eddiemonge
  4. @nateabele

    Merge pull request #1960 from aaronroberson/master

    nateabele authored
    refactor(commonjs): Added support for commonjs
  5. @aaronroberson
Commits on May 19, 2015
  1. @christopherthielen

    0.2.15 changelog.md

    christopherthielen authored
  2. @christopherthielen

    release 0.2.15

    christopherthielen authored
  3. @christopherthielen

    prep for 0.2.15

    christopherthielen authored
  4. @christopherthielen

    fix(urlMatcherFactory): Revert to 0.2.13 behavior where all string pa…

    christopherthielen authored
    …rameters are considered optional
    
    fix(urlRouter): When reloadOnSearch is false, also update the URL.
    Fixes #1963
    Fixes #1803
    Fixes #1079
  5. @christopherthielen
  6. @christopherthielen

    fix(urlRouter): allow .when() to redirect, even after a successful $s…

    christopherthielen authored
    …tate.go()
    
    - This partially reverts a change from 0.2.13 intended to stop infinite redirects.
      - b267ecd
      - #1573
    - This will be likely be re-reverted in 1.0
    
    Closes #1584
  7. @christopherthielen
  8. @christopherthielen
  9. @christopherthielen

    fix($state): reloadOnSearch should not affect non-search param changes.

    Matt Ginzton authored christopherthielen committed
    The handling of `reloadOnSearch: false` caused ui-router to avoid
    reloading the state in more cases than it should. The designed and
    documented behavior of this flag is to avoid state reload when the
    URL search string changes. It was also avoiding state reload when
    the URL path (or any non-search parameters to the state) changed,
    and even when state reload was explicitly requested.
    
    This change
    
    - flips the name of shouldTriggerReload (and the accompanying guard
      boolean, skipTriggerReloadCheck) to match the direction of the
      logic: shouldSkipReload and allowSkipReloadCheck
    
    - teaches shouldSkipReload to look at the types of the differing
      parameters, and only skip the reload if the only parameters that
      differ were search parameters
    
    - pulls the test for options.reload to the front of the complex
      boolean expression.
    
    - Updates $state.params and $stateParams when skipping reload
    
    Fixes #1079. Helps with one of the cases broken in #582.
Something went wrong with that request. Please try again.