Angular interpolated value display not updating when changed in timeout
Angular 6.0.1. This problem is manifesting itself inside a large application, but I created a simple component to try and see what is going on. The simple component has a simple template: {{myProp}} In the ngOnInit, I set this.myProp = 'hello'; and I see the word hello on screen as I would expect. So far so good. However, if I now try to update the value of myProp in a setTimeout , it never updates the UI: this.myProp = 'hello'; setTimeout(() => { this.myProp = 'goodbye'; }, 3000); The value shown in the UI is still hello . If I inject ChangeDetectorRef in my constructor and call cdr