I have two radio buttons
in my template. on selecting a button, different input
text fields should be displayed for each button
and the other fields should hide.
How can I do this using Angular
?
I have tried using *ngIf
and ngModel
, but not able to solve this problem.