I have a checkbox built from an array.
<div class="form-check" *ngFor="let plan of plans; index as i" [formGroupName]="i">
<label class="form-check-label fw7 h5 mb0">
<input class="form-check-input" type="checkbox" formControlName="checkbox">
{{plan.planShortName}}
</label>
<div>
i need to show and hide a div in the end of the page if the plan.mailingResponsibility is true for any one of the selected plan. by default one of the plan is always selected when the page loads. Any guidance on this of how my approach should be? below is the div i need to show and hide
<div *ngIf="showFootNote">
<p>
* By providing an e-mail address you agree to the terms..
</p>
</div>
Here is the sample that i am working on Sample: https://stackblitz.com/edit/angular-pnw2wg?file=src%2Fapp%2Fapp.component.html
showFootNotestate by looking every checkbox change, right?