Correctly inject $http.