I am getting the following exception:
Unhandled Promise rejection: Template parse errors:
Parser Error: Missing expected ) at column 19 in [(model.DaysOfWeek & 0x20) !== 0] in PriceComponent@129:65 ("ox">
<label>
<input type="checkbox" name="DaysOfWeek" [ERROR ->][checked]="(model.DaysOfWeek & 0x20) !== 0" (change)="model.DaysOfWeek ^= 0x20" /> Monday
"): PriceComponent@129:65
on this binding:
<input type="checkbox" name="DaysOfWeek" [checked]="(model.DaysOfWeek & 0x20) !== 0" (change)="model.DaysOfWeek ^= 0x20" /> Monday
The binding expressions look valid to me, so I am puzzled as to why it fails? DaysOfWeek is a property of type number that is bit encoded with day of week flags.