Control getControl(NgControl dir)

Look up the Control associated with a particular NgControl.

Source

Control getControl(NgControl dir) {
  return (this.form.find(dir.path) as Control);
}