Dependency Injection, nested providers

AFAIK the short answer is (check out the related topic for more details and resources):