What is NgZone?

Angular provides a service called NgZone which creates a zone named angular to automatically trigger change detection when the following conditions are satisfied.

  1. When a sync or async function is executed.
  2. When there is no microTask scheduled.

Made in India with ❤️ by Rajesh Kumar Yadav