title: ion-button Click not firing up function in ionic 4
body: <p>I have a button and a function in my ionic 4 Code. Ideally on the click of the button, the function should fire up but that's not happening.</p>
  
  <p><strong>MY HTML</strong></p>
  
  <pre><code>&lt;ion-content padding&gt;
  &lt;div class="contentFlow" id="profile-content"&gt;
      &lt;h1&gt;Profile&lt;/h1&gt;
      &lt;ion-button (click)="clicked()"  expand="block" color="light"&gt;
        Logout
      &lt;/ion-button&gt;
    &lt;/div&gt;
  &lt;/ion-content&gt;
  </code></pre>
  
  <p><strong>MY TS:</strong></p>
  
  <pre><code>clicked() {
      alert('hello');
    }
  </code></pre>
  
  <p>Note: I need to keep the div in my code. </p>
  
  <p>What should I do?</p>