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 to bootstrap your angular app for multiple modules?

0 Answers  


Is vue js better than angular?

0 Answers  


What is the aot compilation?

0 Answers  


what is the difference between constructor and ngoninit?

0 Answers  


How to create custom pipes in angular 2?

0 Answers  


Which directive lets you modify the behaviour of another directive?

0 Answers  


What is the difference between service and factory?

0 Answers  


What does full stack mean?

0 Answers  


Explain the compilation process of angularjs?

0 Answers  


What are templates?

0 Answers  


How Directives are compiled?

0 Answers  


Whats is a filter?

0 Answers  


Categories