The mechanics of DOM updates in Angular