``` @Component ... class Cmp { items; f() {} } ``` template: ``` {{f()}} <div !foreach="var item in items"></div> ``` throws because it seems that `f` is evaluated in the local context for `item`.
template:
throws because it seems that
fis evaluated in the local context foritem.