I have this loop to show a list of input text
<div ng-repeat="country in countries">
<input ng-blur="saveCountryName(country)" type="text" value="{{country.name}}">
</div>
in my controller
$scope.saveCountryName = (country) => {
console.log(country);
}
country is filled with the original value, how can I get the modified value?