How angularjs checkbox sets unchecked status

The checkbox of

angular has a tag of ng-checked. You can set this checkbox to automatically change to the state of checked under a certain parameter, such as this:

<input type="checkbox" ng-checked="textCode=="test"">

but what I want to achieve now is that when textCode="test", the checkbox can automatically become the state of unchecked.
I don"t really want to use js to control this input. I don"t know if angular has such a tag that can be written directly in this input to achieve this effect, huh?

Mar.03,2021

try this

ng-checked = "if(textCode == 'test'){checked = false;}"
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35e58-2bfe5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35e58-2bfe5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?