I am very new to Angular and I am trying to show a table based on toggle button value. i used angular material to create a toggle button, but i am not able to figure out on how to pass this data onto my controller.
Any help would be appreciated. Please find my code below Thanks in Advance...!!!
<mat-button-toggle-group #group="matButtonToggleGroup"[(value)]="groupValue">
<mat-button-toggle value="active">Active</mat-button-toggle>
<mat-button-toggle value="inactive">Inactive</mat-button-toggle>
</mat-button-toggle-group>