Skip to content

Creating url from state using parameters? #134

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

Closed
fxck opened this issue May 21, 2013 · 1 comment
Closed

Creating url from state using parameters? #134

fxck opened this issue May 21, 2013 · 1 comment

Comments

@fxck
Copy link

fxck commented May 21, 2013

How would I go about this? Let's say I have a table with 5 columns and I want to be able to order by them(on server side), so my route(in state called say table) would look somewhat like url: '/my-table/?orderBy&orderDirection.

Is there any way to do something like $state.createUrl('table', {orderby: 'name', orderDirection: 'ASC'}); and it'd create /my-table/?orderby=name&orderDirection=ASC?

@fxck
Copy link
Author

fxck commented May 21, 2013

ah it's being discussed here #128 ..

@fxck fxck closed this as completed May 21, 2013
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

1 participant