title: Load dynamically component inside modal
body: <p>I need to load dynamically a custom component inside a modal and make it as flexible as possible.</p>
  
  <p>For example :</p>
  
  <p>-HTML CODE-</p>
  
  <pre><code>&lt;button id="floating_button" class="floating_button animation_floating_in" (click)="createNewPost('new_post_form_modal')"&gt;&lt;i class="material-icons"&gt;gesture&lt;/i&gt;&lt;/button&gt;
        &lt;div class="modal-content" id="loadHere" &gt;
            &lt;!-- LOAD MY CUSTOM COMPONENT HERE  --&gt;
        &lt;/div&gt;
  </code></pre>
  
  <p>-TYPE SCRIPT CODE-</p>
  
  <pre><code>public createNewPost(nomeComponent:any)
  {
      // Load dynamically here nomeComponent inside div with id="loadHere"
  }
  </code></pre>
  
  <p>Can someone help me please?</p>