Remove unneeded $http dependency