title: Angular 2: How to call a method from another component
body: <p>I have a button in my html template that calls a method, but this method is not found in its own component. It's found in another component. What should I do?</p>
  
  <p>HTML template:</p>
  
  <pre><code>&lt;button class="ui button basic medium" (click)="showConfirmation()"&gt;Delete&lt;/button&gt;
  </code></pre>
  
  <p>The <code>showConfirmation()</code> method is found in <code>dialog-box.component.ts</code></p>
  
  <p>In my <code>showConfirmation()</code>, I have a jQuery that allows viewing of a Semantic-UI modal</p>
  
  <pre><code>showConfirmation(show: boolean){
        $('.ui.small.modal').modal('show');
  }
  </code></pre>