on click action in ionic code example
Example: ionic button active on click
<button class="post-button" [ngClass]="{'activated' : buttonActive}"ion-button outline small icon-left">
<button class="post-button" [ngClass]="{'activated' : buttonActive}"ion-button outline small icon-left">