toggle input field in AngularJS