Add two way binding for input text