Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between $watch, $digest and $apply?

Answer Posted / satish kasturi

$digest is to run the watch cycle from non-angular variables.
$watch for running the watch cycle while modifying the variables in the current angularjs component
$apply is to run the watch cycle for all the angulajrs components

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is ngoninit called twice?

1093


What is a scope in AngularJS?

830


What is template reference variable in angular 4?

861


Does angular use ajax?

780


What angularjs 7?

772


Can we have any service for ngfor and ngif in angular?

1435


What is router events in angular?

847


How do components communicate with each other?

785


Explain One-way binding in AngularJS?

831


What is angular good for?

775


What are the types of feature modules?

795


What is @outputs in angular?

804


Differentiate between ng-Class and ng-Style?

876


What are the cookies methods?

884


What is token based authentication in angular 4?

841