fbpx

Angular Dependency Injection – Understanding hierarchical injectors

by | Feb 18, 2022 | Voxxed Days Bucharest 2022

Peter Eijgermans is a long-time software developer and an adventurous and passionate CodeSmith Frontend at Ordina Netherlands. He likes to travel around the world with his bike. Always seeking for the unexpected and unknown. For his job he tries out the latest techniques and frameworks. He loves to share his experience by speaking at conferences all over the World and writing for the Dutch Java magazine and DZone. He believes that you as the front-end developer are the spider in the web to bring the user, the team and the product together.

Dependency Injection in Angular is a big and hard topic but it is crucial to understand it at least on some basic level in order to build scalable,

testable and flexible components and applications.

Why do we need DI in Angular?

What’s going on under the hood?

How Angular resolves dependencies?

Peter also explains the injectors hierarchy and how to implement this in code. (time for live coding!)

And finally give answer to the question how to define a highly scalable folder structure for your Angular project ?