Execute code which should not update UI: Angular 2

I have some block of codes which is updating the variable value in UI,

I want to execute that code without being update in UI or update in next change Detection Cycle

Is it related with ngZone and Change Detection Cycle.

Source: Angular

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.