JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="radiobtn">
<div ng-controller="radioController">
Select your favourite food <br/>
<input type="radio" name="fav" ng-model="fav_food" value="curd rice" ng-click="getFood($event)" />curd rice<br/>
<input type="radio" name="fav" ng-model="fav_food" value="lemon rice" ng-click="getFood($event)"/>Lemon rice<br/>
<input type="radio" name="fav" ng-model="fav_food" value="green rice" ng-click="getFood($event)"/>Green rice<br/>
Your favourite food is : {{food}}
</div>
</div>
JavaScript
var app = angular.module('radiobtn',[]);
app.controller('radioController',['$scope',function($scope){
$scope.getFood = function(obj){
$scope.food = obj.target.value;
}
}]);