<div class="checkboxItem" #elem [id]="idname">
    <input type="hidden" value="{{value}}" /> <input type="hidden" value="{{selected}}" /> <i class="fas fa-square" *ngIf="(selected == 0)" ></i>
    <i class="fas fa-check-square"  *ngIf="(selected == 1)" value="value"></i>
</div>
