WhitePoplar022 / angular2-data-flow

Demonstration of how data flows from the root component to child components in Angular 2 using data binding. Events may be used to flow the data back to parent components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 2 Data Flow Example

This example code is similar to what was discussed at our Angular meetup on 1/25/2016 although it is a bit more advanced.

It demonstrates:

  • How data flows from the root component to child components using data binding.
  • How events may be used to flow the data back to parent components.
  • How to dynamically add recursive child components.

Try it with three simple steps...

  1. git clone https://github.com/modern-javascript/angular2-data-flow.git
  2. npm install
  3. npm start

About

Demonstration of how data flows from the root component to child components in Angular 2 using data binding. Events may be used to flow the data back to parent components.


Languages

Language:TypeScript 63.8%Language:HTML 36.2%