Beginner Angular/Javascript question...
In the code example shown below I have a 'value' set to '0'. In the two binding calls for "[checked]" and "(change)" I am setting the method calls to '0'.
<div class="custom-control custom-radio">
<input type="radio" class="custom-control-input" id="view1" name="taskView" [checked]="isCurrentView(0)" mdbInput value="0" (change)="changeTaskView(0)">
<label class="custom-control-label" for="view1">Day</label>
</div>
Is it possible to replace the '0' used in the "[checked]" and "(change)" with the tag 'value' property?