[Angular 2] Adding a data model

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

 

 

posted @ 2016-03-21 02:13  Zhentiw  阅读(136)  评论(0)    收藏  举报