Angular2 Template Syntax Review

25 Sep 2016

Angular2 official doc points out the new mental model of using Angular template binding: Angular deals with DOM properties or events instead of HTML static attributes.

Target of the data binding shall be the property or event of html element, component or directive.
Source of the data binding uses:

Direction of the data flow is usually unidirectional either from a component to an element or from an element to a component. The exception is ngModel directive which has two-way data binding.