Using restangular to make the server calls