what is DI (Dependency Injection ) and how an object or function can get a hold of its dependencies?
Submitted by: MuhammadDI 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.
These are the ways that object uses to hold of its dependencies
☛ Typically using the new operator, dependency can be created
☛ By referring to a global variable, dependency can be looked up
☛ Dependency can be passed into where it is required
Submitted by: Muhammad
These are the ways that object uses to hold of its dependencies
☛ Typically using the new operator, dependency can be created
☛ By referring to a global variable, dependency can be looked up
☛ Dependency can be passed into where it is required
Submitted by: Muhammad
Read Online AngularJS Developer Job Interview Questions And Answers
Top AngularJS Developer Questions
☺ | Please explain what is Angular Expression? Explain what is key difference between angular expressions and JavaScript expressions? |
☺ | Explain on which types of component can we create a custom directive? |
☺ | Tell me what is AngularJS? |
☺ | Tell me how does the digest phase work? |
☺ | what is DI (Dependency Injection ) and how an object or function can get a hold of its dependencies? |
Top Scripting language Categories
☺ | AngularJS Interview Questions. |
☺ | Ext-JS Interview Questions. |
☺ | Dojo Interview Questions. |
☺ | Expert Developer JavaScript Interview Questions. |
☺ | jQuery Mobile Interview Questions. |