Dependency injection is one of the most powerful core features of Angular. It has been there since the beginning in AngularJS and with the arrival of the new Ivy renderer engine it is time again to visit the internals of Dependency Injection. How does it work? What things got improved in @Injectable creation and the resolution mechanism? Read on and take a deep dive into this interesting topic.
#angular #dependency-injection #angular-internals
In this article I want to explain how Angular @Injectable decorator works under the hood and how providedIn property is processed by Angular Ivy.