9. Dependency Injection
Dependency Injection
Dependency injection is an important application design pattern. Angular has its own dependency injection framework, and you really can't build an Angular application without it. It's used so widely that almost everyone just calls it DI.
This page covers what DI is, why it's so useful, and how to use it in an Angular app.