Angular · Middle · Question 25 of 75

What does multi: true do in a provider?

Explanation

Multi-providers let many parts of the app contribute to one extension point (validators, initializers). inject(TOKEN) returns an array of all contributed values.

Further reading

Problem with a question

Angular · Middle · question 25

Test yourself

Take the Angular · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz