I need assistance with checking/unchecking the checkbox depending on the value of the field services.Register.IsTest
.
If services.Register.IsTest=True
, then the checkbox should be checked. Otherwise, it should remain unchecked.
Here is the checkbox code:
<input type="checkbox" id="patReturned" value="Returned">
I am a beginner in AngularJS and would appreciate any help.
Thank you