AngularJS service for getting access to a native XHR object used by $htpp service