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 and $observe?



What is the difference between $watch and $observe?..

Answer / chaitanya

$watch is a method on the scope object which is used to watch expressions. The expression can be either strings or functions.

$observe is a method on the attrs object which is only used to observe the value change of a DOM attribute. It is only used inside directives.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is spa in angular?

0 Answers  


What is typescript in Angular 8?

1 Answers  


What is the possible order of lifecycle hooks in angular?

0 Answers  


What is internationalization?

0 Answers  


What is router imports?

0 Answers  


Why is this project called "AngularJS"? Why is the namespace called "ng"?

0 Answers  


Explain directive in AngularJS?

0 Answers  


How do you share data between controllers?

0 Answers  


What is the difference between directives and services?

0 Answers  


What is share module?

0 Answers  


What is angular json file?

0 Answers  


Is angular harder than react?

0 Answers  


Categories