Errors for both are:
Property ‘name’ does not exist on type '{ key string] :AbstractControl
Property ‘category’ does not exist on type '{ key string] :AbstractControl
Other than the comma which was a slip up I must have made formatting in this forum, I can make what I originally posted by not referencing the control in the html.
eg: <p [hidden]="myForm.controls.name.valid" danger padding-left>Subject is empty</p> does not work when published to android.
But this works:
<p [hidden]="!isValid( 'name')" danger padding-left>Name is empty</p>