Angular 2Directives & components : @Input @Output

Syntax

  1. One way binding from parent component to nested component: [propertyName]
  2. One way binding from nested component to parent component: (propertyName)
  3. Two-way binding (a.k.a banana box notation) : [(propertyName)]