Ion-button [ng-Class] condition Not working with ionic2 RC3


Trying to put condition with below mentioned syntax , it was working previously but not it stopped working when i upgraded to new version .

Almost similar to toggle button functionality . Following code was working fine with previous version of ionic2 …

button style=“color:#639798” [ngClass]="(Emotions[0][2].isActive==false) ? ‘button button-small button-clear button-stable’: ‘button button-Gainsboro’" (click)=“Emotions[0][2].isActive = !Emotions[0][2].isActive”>{{Emotions[0][2].name}}