feature request: update angular-ui-router from 0.2.10 to 0.2.11
currently ionic uses '"angular-ui-router": "0.2.10",' bower.json
what about getting a more recent version ? > 0.2.11
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
Wow, very interesting, it can be worth trying at least
:+1:
+1, reasonable due to the BUG: uiView: Fixed infinite loop when is called .go() from a controller
:+1: works great !
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
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.