Fixes issue where form object is expected to be an angular element