AngularJS: Dependency Injection (DI)

This article shows how you can work with Dependency Injection (DI) in AngularJS 1.x application. It’s just about passing dependencies to AngularJS controller. Rest of the work on injecting dependencies is taken care by AngularJS. Dependency Injection (DI) is basically about passing a dependency object to another dependent object that uses it as a service. … Read more