title: Angular2 check if button is pressed
body: <p>How can I check if a button is pressed or not?  </p>
  
  <pre><code>&lt;anotherComponent [isPressedOkButton]="xxx"&gt;    
  &lt;button #okButton&gt;   
  </code></pre>
  
  <p>p.s In JSF exists such opportunity - "not empty param[button.clientId]"</p>