What is Dependency Injection in Angular as basic interview question?

--

Photo by Jakob Boman on Unsplash

Dependency Injection (DI) is design pattern for sharing a functionality within app. We have module, component and services classes to work together in many patterns.

--

--

ACHARYA A K

Software Engineer| Angular Advocate | Cyclist