How to add cssClass in $IonicPopup

I want to use
cssClass: ‘’, // String, The custom CSS class name
my purpose is that i want to show alert in different time, like on error, on warning , on success.
So i want to add css class of that.
Please help me.
Thanks in advance.