An implementation of Angular's $http service for node