Simple ajax library based off of AngularJS $httpProvider