1

What will happen if you add a service in the providers array of a component?

Correct Answer: A new instance will be created for that component and its children

Make the most of this question

This page focuses on one Angular MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Angular MCQs MCQ: What will happen if you add a service in the providers array of a component? | Extra Education