Q: How to use Angular 2 template form with ng-content? : <p>Is it not possible to have form input elements within an ng-content and have that "connect" to the ngForm instance of the parent component?</p>

<p>Take this basic template for a parent component:</p>

<pre><code>&lt;form (ngSubmit)="onSubmit(editForm)" #editForm="ngForm" novalidate&gt;               
&lt;ng-content&gt;&lt;/ng-content&gt;
&lt;button type="submit"&gt;Submit&lt;/button&gt;
&lt;/form&gt;
</code></pre>

<p>Then inside the child component, which is put inside "ng-content", something like this:</p>

<pre><code>&lt;input type="text" [(ngModel)]="user.firstName" #firstName="ngModel" name="firstName" required minlength="2"&gt;
</code></pre>

<p>On submit of the parent form, the child controls are not available, which also means that dirty/validation of whatever is in the child component is not reflected on the parent form.</p>

<p>What is missing here?</p>
