Switched to shorthand for $http request.