Updating the data request to use the $resource service