Updated angular user.js to Restangular.