Building model driven form with latest technique in Angular 2 (Final)
Jecelyn Yeen
103

Jecelyn,

I’ve followed the example and get this error when I start — Do you know what would cause it and how to fix so I can continue follownig your example?

Thanks

EXCEPTION: Template parse errors:
No provider for NgControl (“
 <div>
 <label>Name</label>
 [ERROR ->]<input type=”text” formControlName=”name”>
 <small [hidden]=”myForm.controls.name.valid || (my”): TestComponent@5:8
No provider for NgControl (“
 <div>
 <label for=””>Address</label>
 [ERROR ->]<input type=”text” formControlName=”address1">
 <small [hidden]=”myForm