I am coming back to Angular and have been reading about the digest cycle and watchers, one post I read said that for expressions in {{}} then angular will evaluate this in every cycle.
Given the following will there be 3 watchers set up (qty, cost and for the expression in curly braces)?
<div ng-app ng-init="qty=1;cost=2">
<b>Invoice:</b>
<div>
Quantity: <input type="number" min="0" ng-model="qty">
</div>
<div>
Costs: <input type="number" min="0" ng-model="cost">
</div>
<div>
<b>Total:</b> {{qty * cost | currency}}
</div>
</div>
The snippet is taken from the angular developer guide, when say the qty variable is increased and the digest fires does it update the model based on a watcher bound to qty and then call another watcher to update the expression in curly braces?
The article said that every time the cycle runs the expression watcher will be fired even if those 2 model variables did not change.
Thanks