title: How to use HostListener
body: <p>I am wondering how can I use <code>@HostListener</code>. The only info I've found, was in the <a href="https://angular.io/docs/ts/latest/cheatsheet.html">cheatsheet</a> : </p>
  
  <pre><code>@HostListener('click', ['$event']) onClick(e) {...}
  </code></pre>
  
  <p>I am trying to log the element that user has clicked on. I've tried like that:</p>
  
  <pre><code>@HostListener('click')({
      onClick(e) {
          console.log(e)
      }
  })
  </code></pre>
  
  <p>But then I receive an error of:</p>
  
  <pre><code>TypeError: decorator is not a function(…)
  </code></pre>
  
  <p>Any ideas?</p>