REST with $http service
REST with #resource