Limited support for function properties in templates.
Supports attributes starting with on, for example onclick="console.log('foo');",
but the attribute value can't contain bind variables, i.e. onclick="console.log('{{foo}}');"
isn't supported.