Change the html as follows:
1 + 1: <span>{{sum(1, 1)}}</span>
And add this function to your Polymer script:
sum: function (a, b) {
return a + b;
}
There is currently no general support for expressions in annotation binding. ( source )
vasek
source
to share