Both should have same ng-model
with different ng-value(meant for use with select option
s or radio
button), so that the selected value will be changed on result
$scope variable and you can grab that value inside a controller on form submit or button click.
Markup