A factory for creating $http services in Angular.