Change Detection in Angular
Achange-detectiontreecollectsallviewsthataretobecheckedforchanges.Usethemethodstoaddandremoveviewsfromthetree,initiatechange-detection, ...,ChangedetectionistheprocessthroughwhichAngularcheckstoseewhetheryourapplicationstatehaschanged,andifanyDOM...。參考影片的文章的如下: