[Angular 2] Adding a data model

Instead of each time create a string add into the todos, we create a TodoModel.

 

 

你可能感兴趣的:([Angular 2] Adding a data model)