I have an issue with the method MarkForCheck() from ChangeDetectorRef. For one usage I had to use this.cd.markForCheck();
because in console I was getting the values but it was not updating on the view.
setTimeout(() => {
this.changeDetectorRef.markForCheck();
}, 50)
This resolved my issue.But i guess this is not the right way.Can anyone suggest me how better i can write this?