Question: what is ngdocheck in angular?
Answer: Use ngDoCheck when you want to capture changes that Angular otherwise doesn't. For example, if a binding references remains unchanged after a click event, ngOnChanges won't run but ngDoCheck will.