How to properly use (click) in ionic 2?
<p>This is my first attempt on using ionic 2. But already I'm having difficulties. But I'm trying.
So after i start a new project, I went on to see how click event is used. I search and read throught the net. But still got no proper answer.</p>

<p>So I used this code on button click event.</p>

<pre><code>&lt;button myitem (click)='openFilters()'&gt;CLICK&lt;/button&gt;
</code></pre>

<p>And my .ts file look like as below.</p>

<pre><code>import {Component} from '@angular/core';
import {NavController} from 'ionic-angular';

@Component({
    templateUrl: 'build/pages/home/home.html'
})
export class HomePage {
  constructor(private navCtrl: NavController) {
    openFilters() {
        console.log('crap');
    }
  }
}
</code></pre>

<p>I event tried adding <code>selector: 'myitem',</code> to the @component part.</p>