In index.js you can see that
document.body.style.backgroundColor = ComponentWithDependencies.getColor();
is called twice. After 2 seconds we are binding custom BlueColorProvider and color is changed from red to blue.