I have two radio buttons pass and fail.
pass
fail
How to get value of selected radio button.
angular.module('resultApp', []).controller('resultCtrl', function($scope) { $scope.result = 'pass'; $scope.submitResult = function(result) { alert(result) }; });
Result pass fail {{result}} See Result