The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Injectors

Injectors

2:55
Injectors inject your dependencies in your AngularJS application. For the most part it will automatically work when constructing objects (controllers) and provide the dependencies defined with your service/factory/provider, it can also be injected itself and be used for invoking methods with injection.
Watch this lesson now
Avatar
egghead.io

Injectors inject your dependencies in your AngularJS application. For the most part it will automatically work when constructing objects (controllers) and provide the dependencies defined with your service/factory/provider, it can also be injected itself and be used for invoking methods with injection.

Avatar
Alex

"Injectors and providers are basically BFFs, which mean injects allow providers to come to all the parties" Best explanation ever!

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?