Adding $http sevice.