…ncy injection or why anyone would want it in their UI tools, see the Angular Docs and example code. My working definition is “Dependency injection is a way to simulate adding more parameters to a function.” The goal of dependency injection is to make components more reusable and testable.