What is change detection in Angular? Change detection is the mechanism Angular uses to update the DOM when the
pplication's state changes. When data-bound properties change, Angular runs a change
detection cycle to check if the view needs updating.
- It checks component data and updates the UI accordingly.
- Happens automatically after events, HTTP requests, timers, etc.