Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What does the Angular dependency injection hierarchy determine?

  1. A The order components render
  2. B Which provider is used, by resolving from the component injector upwards to root
  3. C The routing structure
  4. D The change detection order
Answer

Which provider is used, by resolving from the component injector upwards to root

The first matching provider found while walking up the injector tree wins, which is how component-scoped service instances are created.

All Angular MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as