I have to show or hide sections based on selection of radio button
In Angular it can be achieved with *ngIf:
Yes No Supply Demand
And no need to check if option==true or false, [checked]="options" and [checked]="!options" do the same.
option==true
false
[checked]="options"
[checked]="!options"