Dependency injection with configuration and autowire for node js and browser.