Skip to content
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

ui-sref build href attribute without # #1588

Closed
paglias opened this issue Nov 26, 2014 · 2 comments
Closed

ui-sref build href attribute without # #1588

paglias opened this issue Nov 26, 2014 · 2 comments

Comments

@paglias
Copy link

paglias commented Nov 26, 2014

When NOT using HTML5 mode ui-sref generates a href attribute without the #.

<a ui-sref='options.groups.tavern'></a>

generates this html

<a href="/options/groups/tavern"></a>

Then on click it redirects to the correct url (/#/options/groups/tavern) but it makes impossible to bookmark the link or open in another tab because in this case it follows the url without the #

@christopherthielen
Copy link
Contributor

lemme guess, you updated to angular 1.3 but you're still on ui-router less than 0.2.12?

#1397

@paglias
Copy link
Author

paglias commented Nov 27, 2014

@christopherthielen yes, thanks!

@paglias paglias closed this as completed Nov 27, 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

No branches or pull requests

2 participants