Data Binding in Angular 2
summary
Angular 2 organizes the app as a component tree and replaces Angular 1’s many interdependencies with clear rules: property bindings flow top-down and require one digest cycle to synchronize the UI after events, while event bindings flow bottom-up and simply call callbacks. Development mode enforces that children cannot mutate parent state (production skips the check). Two-way binding is explicit sugar: use a property plus an event named PropertyNameChange and read the new value from $event.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 0:26Angular 1 data binding
- 1:12Angular 2 component hierarchy
- 2:24Understanding event bindings
- 3:31State machine model
- 4:33Two-way data binding








