I\'m new to angular2. I want to store user input from a text area in a variable in my component so I can apply some logic to this input. I tried ngModel but it
ngModel
Add { addTodo(title:string) { console.log(title); } }
Add