factory -> provider

Use a provider instead of a factory for the Upload service.