void removeControl(NgControl dir)

Remove a control from this form.

Source

void removeControl(NgControl dir) {
  directives.remove(dir);
}