Yeah but it takes only one callback IIRC. 2 solutions:

* Use a restful js lib like Restangular which creates those routes for you without you having to query them
* Create a class that caches all http requests and pass in the route name and parameters. Inside that class register on that callback and execute the cached reqeusts.