Can we please get rid of all these ajax/* calls?

Please setup proper RESTfull routes and call them via restangular - anything else will be too confusing and result in to much code.