What is the difference between $evalAsync and $timeout in AngularJS ?

devquora
devquora

Posted On: Feb 22, 2018

 

$evalAsync executes the expression on the current scope at a later time and makes no guarantees as to when the expression will be executed.

$timeout also executes the expression on the current scope on later time but also runs after the DOM has been manipulated by the Angular and after the browser renders that cause flicker in some cases.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions