Javascript 如何给AngularJS弹出窗口上课

Javascript 如何给AngularJS弹出窗口上课,javascript,css,angularjs,popup,Javascript,Css,Angularjs,Popup,这是我的密码。当我点击它时,它会显示一个带有自动生成的CSS的弹出窗口。我想通过调用一些ID和类对CSS进行一些更改。我如何给它id或类,以便通过调用类或id在CSS中进行更改 $scope.showPopup = function() { $scope.data = {} // An elaborate, custom popup var myPopup = $ionicPopup.show({ title: 'Social Media Services', scope:

这是我的密码。当我点击它时,它会显示一个带有自动生成的CSS的弹出窗口。我想通过调用一些ID和类对CSS进行一些更改。我如何给它id或类,以便通过调用类或id在CSS中进行更改

$scope.showPopup = function() {
$scope.data = {}

// An elaborate, custom popup
    var myPopup = $ionicPopup.show({

  title: 'Social Media Services',

  scope: $scope,
  buttons: [
  { 
  type :'ion-social-facebook positive button-large',

      onTap: function(e) {
       //$cordovaSpinnerDialog.show("aaa", "aaaa");
         window.open('https://www.facebook.com/BinDawood.Co', '_system', 'location=yes');
      }
    },
    { type :'ion-social-twitter calm',
      onTap: function(e) {
      // $cordovaSpinnerDialog.show("aaa", "aaaa");
         window.open('https://twitter.com/BinDawoodco', '_system', 'location=yes');
      }
    },
    {  type :'ion-social-pinterest assertive',
      onTap: function(e) {
      // $cordovaSpinnerDialog.show("aaa", "aaaa");
          window.open('http://pinterest.com/bindawoodco', '_system', 'location=yes');
      }
    },

  ]
});
myPopup.then(function(res) {
  console.log('Tapped!', res);
});

})

在作为$ionicPopup.show参数传递的对象中添加属性
cssClass

  cssClass: '', // String, The custom CSS class name