How an object or function can get a hold of its dependencies?

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 Job Interview Questions And Answers