title: How to open/show my component on a HTML button click - Angular
body: <p>I'm making simple application, there are 3 components right now, one Parent component, called MAIN COMPONENT, and two child components, one of the child component is displaying selected vehicles and that works fine, but after selection is done I need to click on add button in my app, to open modal (which is another component) where I should choose a customer/client so I could mark that vehicle's are selected customers ownership.</p>
  
  <p>This is how it looks in general:</p>
  
  <p><a href="https://i.stack.imgur.com/eDler.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eDler.png" alt="enter image description here"></a></p>
  
  <p>So basically when add button is clicked (that add button is part of toolbox component) there should be shown modal (another component which holds customers) where I could choose a client.</p>
  
  <p>Component that should shown when add is pressed is: <code>customer.component.html</code></p>
  
  <p>Now I will post my code:</p>
  
  <p>1.) posting component that should hold clients <code>customer.component.html</code></p>
  
  <pre><code>&lt;div class="modal-content"&gt;
    &lt;div class="modal-header"&gt;
      &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
      &lt;h4 class="modal-title"&gt;Clients&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="modal-body item-edit-container"&gt;
      &lt;h4 class="modal-title" style="text-align: center;"&gt;Find client by ID&lt;/h4&gt;
      &lt;div class="form-group"&gt;
        &lt;input type="text" class="form-control dash-form-control" id="" placeholder="" autofocus&gt;
        &lt;div style="margin-top: 10px;"&gt;
          &lt;select class="form-control dash-form-control select2" style="width: 100%;"&gt;
            &lt;option selected disabled&gt;Search for client..&lt;/option&gt;
            &lt;option&gt;Person 1&lt;/option&gt;
            &lt;option&gt;Person 2&lt;/option&gt;
            &lt;option&gt;Person 3&lt;/option&gt;
          &lt;/select&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="modal-footer"&gt;
      &lt;button type="button" class="btn save-keyboard-btn" data-dismiss="modal"&gt;&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  
  
  @Component({
    selector: 'app-customer',
    templateUrl: './customer.component.html',
    styleUrls: ['./customer.component.css']
  })
  export class ClientComponent implements OnInit {
     ngOnInit() {
    }
  }
  </code></pre>
  
  <p>I general I've no idea how this should be done, maybe I should place something like this on my main component :</p>
  
  <pre><code>&lt;app-customer&gt;&lt;/app-customer&gt; and somehow show it when I click on button add, but I really don't know how to achieve this? Could anyone write me some simple steps which I might follow or whatever...
  </code></pre>
  
  <p>Thanks guys
  Cheers</p>
  
  <p>So please keep in mind my question at the end is simple, I need to show a modal which represeting my component when button is clicked..</p>
  
  <p>Thanks
  Cheers</p>