Correct typo: http -> $http