Angular, Typescript, JavaScript.
or 4: <div> <div> <input type="radio" [checked]="radioValue() === 1" (change)="radioValue.set(1)" id="radio1"/> <label for="radio1">1</label> </div> <div> <input type="radio" [checked]="radioValue() === 2" (change)="radioValue.set(2)" id="radio2"/> <label for="radio2">2</label> </div> <div> <input