-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat(uiState): add ui-state directive #2187
Conversation
expect(angular.element(template[0]).attr('href')).toBe('#/contacts'); | ||
|
||
scope.state = 'contacts.item'; | ||
scope.params = { id: 5 }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks way better to me than what I previously had; https://github.com/kasperlewau/ui-router/commit/110d793ee6591b139d390f49c642edc93326fe74#diff-e571eaac1af787a06dfe6dfe7210a4d9R312.
Specifying the state ref including the params as a string felt sort of wonky when all things come around. Makes more sense to split it. 👍
👍 |
1 similar comment
👍 |
feat(uiState): add ui-state directive
👍 needed this. thanks ;) |
Was looking for this... thanks guys... |
Thanks for the dynamic ui-sref, but:
|
Thanks |
Fixes #395, #900, #1932
cc: @kasperlewau @christopherthielen