No provider for NgModel! (Typeahead -> NgModel) exception when adding ngControl to bootstrap 4 TypeHead angular 2
<p>I am trying to add ngControl form validation to bootstrap 4 typehead control in Angualr js 2.
code is as follows.</p>

<pre><code>&lt;input [(ngModel)]="model.brand" [typeahead]="model.brands" ng-model-options="{'updateOn': 'blur'}"
        (typeaheadOnSelect)="brandOnSelect($event)" (typeaheadNoResults)="brandNoResults($event)"
        [typeaheadOptionField]="'Value'" class="form-control" ngcontrol="brand" &gt;
        &lt;div *ngIf="brand.dirty &amp;&amp; !brand.valid "&gt;
            &lt;p  *ngIf="brand.errors.required" class="text-help"&gt;{{ required }}&lt;/p&gt;
        &lt;/div&gt;
</code></pre>