[angular] Test that ComboBox is defined before accessing it

Ticket 864739