Multiple ng-models on one input field?
I have a form, and a list of items. I used ng-model="searchFor" to filter out the list of items appropriately (this part is working fine), but I also want to "submit" the item that's filtered out -- which would require ng-model="adding_item.name" on the input field as well (I think). Can you have multiple ng-models on one input field? Is there another way around this? Try using ng-change event to capture model value and assign it to other input element with its own ng-model. <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script> <div ng-app> <input type=