The ng:eval
allows you to execute a binding which has side effects
without displaying the result to the user.
<ANY ng:eval="expression"> ... </ANY>
expression – {expression} –
to eval.
Notice that {{
obj.multiplied = obj.a * obj.b
}}
has a side effect of assigning
a value to obj.multiplied
and displaying the result to the user. Sometimes,
however, it is desirable to execute a side effect without showing the value to
the user. In such a case ng:eval
allows you to execute code without updating
the display.