Improved support for AngularJS's $http service.