Inject module configuration into service.