ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

feature request: update angular-ui-router from 0.2.10 to 0.2.11

Open pellekrogholt opened this issue 12 years ago • 7 comments

currently ionic uses '"angular-ui-router": "0.2.10",' bower.json

what about getting a more recent version ? > 0.2.11

CHANGELOG.md

one motivation could be that its now possible to provide default parameters for a state

...
.state('app.setup', {
  url: '/setup/:target',
    params: {
      target: { value: 'some-default-value' }
    },
    ...

or have a optional param:

...
.state('app.setup', {
  url: '/setup/:target',
    params: {
      target: { value: null }
    },
    ...

long story:

  • https://github.com/angular-ui/ui-router/pull/1032
  • https://github.com/angular-ui/ui-router/issues/108#issuecomment-31415793

pellekrogholt avatar Sep 25 '14 14:09 pellekrogholt

Wow, very interesting, it can be worth trying at least

BondaCB avatar Sep 26 '14 04:09 BondaCB

:+1:

pushpak avatar Oct 22 '14 22:10 pushpak

+1, reasonable due to the BUG: uiView: Fixed infinite loop when is called .go() from a controller

didlich avatar Nov 03 '14 11:11 didlich

:+1: works great !

jgatjens avatar Nov 07 '14 03:11 jgatjens

also uiSrefActive:

Also activate for child states. (bf163ad6, closes #818)

BREAKING CHANGE Since ui-sref-active now activates even when child states are active you may need to swap out your ui-sref-active with ui-sref-active-eq, thought typically we think devs want the auto inheritance.

uiSrefActiveEq: new directive with old ui-sref-active behavior

d65yan avatar Nov 15 '14 15:11 d65yan

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 06 '18 18:09 ionitron-bot[bot]