I am using a select to show Client names. A user should be able to select an existing client, which will then update the scope property:
Controller
This is also a solution to keep parameters into your $scope object:
controller:
$scope.scope = $scope; $scope.clients = []; $scope.existingClient = $scope.clients.length > 0 ? $scope.clients[0] : undefined;
view: