title: To call a component inside Dialog component in angular material
body: <p>I have 2 components called <br>
  1) <code>demo</code> <br>
  2) <code>add-customer</code></p>
  
  <p>In <code>demo</code> component i have an <strong>button</strong> called add. On clicking the button an function (ex <strong>openDialog()</strong> )is called to open an <strong>dialog</strong> window(i,e op-up window).Now i want to call <code>add-customer</code> component inside this <strong>dialog</strong> window.<br>
   How can i do this. Here is the <a href="https://stackblitz.com/edit/angular-material2-issue-sovrog?file=app/demo/demo.component.html" rel="nofollow noreferrer">stackblitz</a> link.</p>