[angularjs] How do I filter an array with AngularJS and use a property of the filtered object as the ng-model attribute?