I need to get value from radio button in angular. Suppose to have this html code:
You can bind the data of radio button. Just add the value for radio button and change in the ngModel
<input class="form-check-input" type="radio" value="dog"
[(ngModel)]="dog.value" name="gob" value="i" [checked]="true"
(change)="onItemChange($event.target.value)"/>
onItemChange(value){
console.log(" Value is : ", value );
}