Kris Ivanov
Principal software and technology consultant, providing dependable web application design and development solutions
$observe vs. $watch
Learn 1.3 when 2.0 is coming out?
Large application structures
Configuration phase
Performance Boosts
$observe is method of Attributes object
$watch is method of Scope object
$observe only in directives, "watches" changes of DOM attribute where interpolation is used "{{}}"
$watch watches an expression, could be function or string, if string it is $parsed or evaluated otherwise
both are checked on each $digest cycle
when using $observe, to convert the string back to object use $eval method of the Scope object
By Kris Ivanov
Principal software and technology consultant, providing dependable web application design and development solutions