service URL should be able to be retrieved from $location