Allow to add custom CSS class to $ionicPopup

This fixes #1962