AngularJS Question:
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.
Previous Question | Next Question |
What are the characteristics of "Scope"? | How an object or function can get a hold of its dependencies? |