APIv4 JS client returns integers as strings for booleans, javascript doesn't get it.
Civi 5.19, the js APIv4 (at least) returns '1'
and '0'
for booleans, like our is_active
property.
This meant the active-ness was incorrectly shown (interestingly, {{is_active ? 'yes' : 'no'}}
rendered always as YES, but using ng-model
always rendrered as NO!