Refer to current state from ui-sref (e.g. for setting url parameters). #1031 #2541

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@shprota
shprota commented Feb 10, 2016

Added minor modifications for current state reference via "." notation.

@mrova
mrova commented on 5080b50 Feb 10, 2016

Works for me. Thank you!

@Maximaximum

It would be useful if you could merge this pull request. I can't upgrade to ui-router 1.0 right now, but this fix would greatly help.

@christopherthielen christopherthielen added a commit that closed this pull request Nov 8, 2016
@christopherthielen christopherthielen fix(ui-sref): Update params-only sref when state changes
- ui-sref="{ id: 123 }" should always link to the current state with the param values

Closes #1031
Supersedes and Closes #2541
3c1bd0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment