Angular check if component is visible. Do not change the checked value or indeterminate value.