You shouldn’t do this. Angular has a change detection mechanism and will automatically update views to reflect changes in data. If this is not happening, then that is the issue that should be addressed. Typically this kind of thing happens when code is run outside of Angular’s “zone”, and Angular doesn’t know about the change. You can force code to run inside of Angular’s zone by using NgZone, but that should be a last resort - it may just be that your code is not designed in the appropriate way, which is causing change detection to fail.