title: Angular Error: NodeInjector: NOT_FOUND [ControlContainer]
body: <blockquote>
  <p>core.js:5873 ERROR Error: NodeInjector: NOT_FOUND [ControlContainer]</p>
  </blockquote>
  <p>Sometimes when I restart the project it runs perfectly.
  There are only changes in app.component.html :</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div class=&quot;container&quot;&gt;
    &lt;div class=&quot;row&quot;&gt;
      &lt;div class=&quot;col-md-4&quot;&gt;
        &lt;form action=&quot;&quot;&gt;
  
          &lt;div class=&quot;form-group&quot;&gt;
            &lt;label for=&quot;&quot;&gt;Username&lt;/label&gt;
            &lt;input type=&quot;text&quot; name=&quot;username&quot; class=&quot;form-control&quot; /&gt;
          &lt;/div&gt;
          &lt;div class=&quot;form-group&quot;&gt;
            &lt;label&gt;Password&lt;/label&gt;
            &lt;input type=&quot;password&quot; class=&quot;form-control&quot;&gt;
          &lt;/div&gt;
          &lt;div class=&quot;form-group&quot;&gt;
            &lt;label&gt;Confirm Password&lt;/label&gt;
            &lt;input type=&quot;password&quot; class=&quot;form-control&quot;&gt;
          &lt;/div&gt;
          &lt;div&gt;
            &lt;button type=&quot;submit&quot; class=&quot;btn btn-primary btn-block&quot;&gt;Register&lt;/button&gt;
          &lt;/div&gt;
        &lt;/form&gt;
        
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>