Angular $http service wrapper.