Templates render HTML. In a template you can use data, property binding and event binding. This is accomplished with the following syntax:
# – variable declaration
() – event binding
[] – property binding
[()] – two-way property binding
{{ }} – interpolation
* – structural directives
The # syntax can declare local variable names which references DOM objects in a template. e.g.