Enmacc interview question

How change detection works in angular