Angularjs2-Can't bind to 'ngModel' since it isn't a known property of 'input'.
Can't bind to 'ngModel' since it isn't a known property of 'input'.
重读官方文档发现 https://angular.cn/docs/ts/latest/tutorial/toh-pt1.html
在app.module.ts中将其引用进去。
Can't bind to 'ngModel' since it isn't a known property of 'input'.
重读官方文档发现 https://angular.cn/docs/ts/latest/tutorial/toh-pt1.html
在app.module.ts中将其引用进去。