AngularJS Question:
Download Questions PDF

What is dependency injection in AngularJS?

Answer:

DI or Dependency Injection is a software design pattern that deals with how code gets hold of its dependencies. In order to retrieve elements of the application which is required to be configured when module gets loaded , the operation "config" uses dependency injection.

Download AngularJS Interview Questions And Answers PDF

Previous QuestionNext Question
What are the characteristics of "Scope"?How an object or function can get a hold of its dependencies?