Question · Angular course · Module 5: Services and DI

What is Dependency Injection

What is Dependency Injection (DI) in Angular?

Answer options

  • A pattern in which Angular automatically delivers dependencies to components and services
  • A way to style components
  • A mechanism for compiling templates to JavaScript
  • A library for handling HTTP requests

You can check the correct answer by solving this task in the CodeWorlds game.