Category: watches

Mastering $watch in AngularJS

AngularJS offers many different options to use the publish-subscribe pattern through three different “watch” methods. Each of them takes optional parameters that can modify its behavior. The official documentation on $watch is anything but thorough: a problem that has afflicted AngularJS v1 as whole, after ...