[AngularJS] Re: Recommended approach for passing search / pagination parameters for list view

2014-01-04 Thread Daniel Tabuenca
You can add any number of optional parameters to your url such as: href="#/users/1?filterBy=coolPeople&sortBy=lastName All these attributes will automatically get added to you $routeParams which will look like: { PageNumber: 1, filterBy: 'coolPeople', sortBy: 'lastName' } Hope this

[AngularJS] Re: Recommended approach for passing search / pagination parameters for list view

2014-01-04 Thread Sander Elias
Hi Michel, Did you consider sessionStorage? I know that will only work on the same session, but that might just be what you need. If you need this to work across browsers/systems you have 3 options. 1. store the needed data in the url. (uggly, but works, and you can send the url to some