I want to change my classe for an element but I don\'t know how to process with Ionic 2. I tried this way but it\'s wrong :
You can use a simple ternary operator to set the class for your example.
...