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

How can you handle errors in angular 2 applications?

0 Answers  


What is the difference between angularjs 1(angularjs) and angular 2/4?

0 Answers  


What is the new in angular 7?

0 Answers  


What is cross site script inclusion (xssi)?

0 Answers  


What do you mean by module in angular 2?

0 Answers  


Explain the component directory structure of angular 4?

0 Answers  


What are the new features in angular 4?

0 Answers  


What is aot and jit in angular?

0 Answers  


Why should use angular js?

0 Answers  


What do you understand by $watch?

0 Answers  


What is tree shaking in angular?

0 Answers  


What is traceur compiler? Why in angular 2?

0 Answers  


Categories