Hi, In this diagram injector is not mentioned explicitly. Injector is the component which achieves dependency injection in angularjs. The above scenario illustrates one of the ways to achieve dependency injection. You may refer to the complete documentation for DI in angular here:
https://docs.angularjs.org/guide/di Does this answer your question? Regards, Vaibhav Gupta On Thursday, 26 November 2015 06:51:09 UTC+5:30, binaryMoods wrote: > > 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)? > > > <https://docs.angularjs.org/img/guide/concepts-module-service.png> > > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
