Setting the validity of a Angular 2 control from within a custom component
<p>I have a custom Ng2 component a I am using the Model-Driven approach.</p>

<pre><code>&lt;form [ngFormModel]="myForm" class="layout vertical relative"&gt;
    &lt;my-custom-comp ngControl="currentValue"&gt;&lt;/my-custom-comp&gt;
&lt;/form&gt;
</code></pre>

<p>So inside my custom component I have all the logic I need but I can't find a way to get a reference to the ngControl to set it to valid or invalid from inside my custom component.</p>