From Angular JS conceptual overview. It says: "What changed? We moved the convertCurrency function and the definition of the existing currencies into the new file finance2.js...
This is where Dependency Injection comes into play... Within Angular, the DI container is called the injector." Link to conceptual overview - https://docs.angularjs.org/guide/concepts
Which one is the injector in their diagram? The invoice module (it holds the dependency being injected) or the finance module (it is the code being injected)?
someController.$inject=['currencyConverter']
function someController(currencyConverter) {...}
['thing1', 'someService', '$http', function someFunction(thing,service,http) {...}]
function someFunction(thing,service,http) {...}]
someFunction.$inject=['thing1', 'someService', '$http'];