How can I set the value of a function to a HTML-attribute.
e.g. set attribute value to the value of foo.
foo () : string { return "bar"; } <