removed un-needed $http from the controller