NRB interview question

How Angular dependency injection works?