added $http defaults