Chris Thielen
Chris Thielen
You can do this, but not using ui-sref-active. You'll have to make your own service and/or ui-sref-sticky-active directive that queries the `$stickyState` service for which states are inactive and applies...
You could watch $state.current, but listening to $stateChangeSuccess is probably more performant.
> I can only get the active leaf, not the entire branch. You can get the entire active branch using `$state.current.$$state().path` I'm not sure what your code looks like, but...
Partially, but one problem will remain. The link will not look clickable because there will be no HREF. also, Once the state becomes available, the HREF is not updated.
Moving to future. Not sure how to approach this bug.
I don't think sticky states leaks memory. Each sticky state remains active, so you have the overhead of additional views, and those views DOM+events+scope, but I don't think there's anything...
That's certainly possible. Statevis is definitely not mature enough for "production", only for demos.
So, tell me if this is correct: You want to pass `toParams` to the DSR state, and have DSR kick in (sending you back down to DSR.sub.state) but with the...
This may be a fundamental flaw in using sticky states. `ui-sref` is a passthrough for `$state.go`. It supplies `.go` with two options, one of which is `inherit: true`. When `.go`...
Marking 'wontfix' because I'm not sure what a good approach is.