UrlParaml and size with $ionicPopup


#1

Hello everybody :smile:

I would like how to add param with $ionicPopup on a templateUrl ?
I want to display a list with $ionicPopup.show :smiley:

And it’s possible to change popup size ?

Thank a lot :wink:


#2

I don’t understand what you mean about using a param with a template URL.

Lists : Just put a list in the template code
Size : It’s just CSS.

.popup {
  width: 400px;
  height: 350px;
}

Sample : http://codepen.io/calendee/pen/ohzdm


#3

changing size of the popup window does not work for width with .popup class in css file.

height seems to be applied though…

.popup {
width: 1200px;
height: 350px;
}


#4

.popup {
width: 1200px !important;
height: 350px;
}

This works for me


#5

but I can’t understand how to implement css in angular js for $ionicPopup