Skip to content

feat(uiSref): extend syntax for ui-sref #933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2014

Conversation

timfjord
Copy link
Contributor

@timfjord timfjord commented Mar 6, 2014

Add possibility to pass params to current state without entering state name
For example, if current state is details, so <a ui-sref="{id: 5}">Details</a> is a syntax sugar for <a ui-sref="details({id: 5})">Details</a>

@timkindberg
Copy link
Contributor

I like it 👍

@timkindberg
Copy link
Contributor

Oh you are missing docs for it though, would you mind adding a blurb in the ngdoc comment?

@timfjord
Copy link
Contributor Author

timfjord commented Mar 6, 2014

@timkindberg yes, sure

@nateabele
Copy link
Contributor

Yeah, I'm down. As @timkindberg says, docs. Also, feat(stateDirective): ... should be feat(uiSref): .... Thanks!

@timfjord timfjord changed the title feat(stateDirective): extend syntax for ui-sref feat(uiSref): extend syntax for ui-sref Mar 18, 2014
add possibility to pass params to current state without entering state name
@timfjord
Copy link
Contributor Author

@timkindberg @nateabele i have updated docs and commit message

@timkindberg
Copy link
Contributor

Looks good!

@nateabele
Copy link
Contributor

^:five:!

nateabele added a commit that referenced this pull request Mar 18, 2014
feat(uiSref): extend syntax for ui-sref
@nateabele nateabele merged commit 5ee8d1e into angular-ui:master Mar 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants