AngularJS Developer Question:

Explain me what is injector?

AngularJS Developer Interview Question
AngularJS Developer Interview Question

Answer:

An injector is a service locator. It is used to retrieve object instances as defined by provider, instantiate types, invoke methods and load modules. There is a single injector per Angular application, it helps to look up an object instance by its name.


Previous QuestionNext Question
Tell me what is AngularJS?Tell me when should you use an attribute versus an element?