<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x ] bug report
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
Consider this template:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;form [formGroup]=&quot;form&quot;&gt;
    &lt;input type=&quot;text&quot; formControlName=&quot;control&quot;/&gt;
    &lt;input type=&quot;text&quot; formControlName=&quot;control&quot;/&gt;
    ..."><pre class="notranslate"><code class="notranslate">&lt;form [formGroup]="form"&gt;
    &lt;input type="text" formControlName="control"/&gt;
    &lt;input type="text" formControlName="control"/&gt;
    ...
</code></pre></div>
<p dir="auto">I have 2 inputs bound to the same FormControl.<br>
I'm not using <code class="notranslate">ngModel</code> input of <code class="notranslate">formControlName</code> directive.</p>
<p dir="auto">When I enter something in one control, another control is not updated and debugging shows that<br>
<code class="notranslate">viewModel</code> property of the second <code class="notranslate">FormControlName</code> is never updated.</p>
<p dir="auto">I suppose this happens because <code class="notranslate">viewModel</code> is updated only when <code class="notranslate">ngModel</code> is changed<br>
<a href="https://github.com/angular/angular/blob/master/modules/%40angular/forms/src/directives/reactive_directives/form_control_directive.ts#L98">https://github.com/angular/angular/blob/master/modules/%40angular/forms/src/directives/reactive_directives/form_control_directive.ts#L98</a><br>
and not when <code class="notranslate">control.valueChanges</code> fires.</p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
Expected both inputs to always have the same value.</p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
<a href="http://plnkr.co/edit/g7P37ipoQXc9Pe0hDgOy" rel="nofollow">http://plnkr.co/edit/g7P37ipoQXc9Pe0hDgOy</a></p>
<p dir="auto">Hey guys,</p>
<p dir="auto">I just updated to angular/compiler 2.2.4 and my ngc is no longer creating my application ngFactory files in the specified outGen folder. The last working version of angular/compiler on my stack was 2.1.2. I'm currently on node 6.9.1 and angular 2.2.4. You can check out my stack <a href="https://github.com/projectSHAI/GOAT-stack">here</a> and follow the instructions below to reproduce the process</p>
<p dir="auto">Thanks in advance!<br>
JT</p>
<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>

<p dir="auto">initial angular/compiler compilation; app.module.ngFactory file not being created</p>
<p dir="auto"><strong>Expected behavior</strong></p>

<p dir="auto">app.module.ngFactory file would be created along with component factories</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<ul dir="auto">
<li>clone <a href="https://github.com/projectSHAI/GOAT-stack">https://github.com/projectSHAI/GOAT-stack</a></li>
<li>run commands
<ul dir="auto">
<li><code class="notranslate">npm install</code></li>
<li><code class="notranslate">gulp prod</code></li>
</ul>
</li>
<li>ngc-aot folder should have node_module factories and app factories
<ul dir="auto">
<li>app factories missing!!</li>
</ul>
</li>
</ul>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>

<p dir="auto">cannot compile AoT</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>

<p dir="auto">MEAN stack</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.2.4</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> [all]</p>
<ul dir="auto">
<li>(not a dom issue)</li>
</ul>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [TypeScript 2.1.1]</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =  6.9.1</p>
</li>
</ul>