(dir: NgControl)
| 337 | } |
| 338 | |
| 339 | function _noControlError(dir: NgControl) { |
| 340 | return _throwError(dir, 'There is no FormControl instance attached to form control element with'); |
| 341 | } |
| 342 | |
| 343 | function _throwError(dir: AbstractControlDirective, message: string): void { |
| 344 | const messageEnd = _describeControlLocation(dir); |