Aug 29, 2017 · 1 min read
This is stupid what about use cases where we have a global site that needs different components injected depending on country? That’s what I use dependency injection for in Angular that way I can have a site in japan that has very different services to one in Europe with the same core code without having to have custom builds all over the place.