I have input like this
I want to ch
Use ng-value for set value of input box after clicking on a button:
ng-value
button
"input type="email" class="form-control" id="email2" ng-value="myForm.email2" placeholder="Email"
and
Set Value as:
$scope.myForm.email2 = $scope.names[0].success;