Implement controller instantiation via dependency injection.