-
Notifications
You must be signed in to change notification settings - Fork 3k
ref attribute #162
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
Comments
You can already use hrefs with urls pointing to state urls. Or a new feature we are working on is #139. |
I use latest snapshot of library, and state <a href="state.index">Home</a> //doesn't work
<a href="$state.index">Home</a> //doesn't work
<a href="{{state.index}}">Home</a> //doesn't work
<a href="{{$state.index}}">Home</a> //doesn't work
<a href="{{$state.transitionTo('index')}}">Home</a> //doesn't work
<a href="" ui-state="index">Home</a> //doesn't work |
Home should work. |
I'll try to finish my work on the ui-sref directive this week. Mostly it just needs unit tests & a little bit of refactoring. This message was hand-crafted for you on an Apple iPhone. On Jun 4, 2013, at 8:44, Stu Salsbury [email protected] wrote:
|
Refactoring... ugh! :) |
@stu-salsbury doesn't work: http://plnkr.co/edit/PDqOWK?p=preview |
There were some issues with your plunker.
|
@stu-salsbury it work! Thank! I hope I can use ui-sref in production :) |
Add, please,
ref
attribute for actions without changing address bar.Usage:
It is more simple and declarative then
transitionTo()
The text was updated successfully, but these errors were encountered: