Infosys interview question

Dependency injection in Angular