How to define same popup in different controller

Hello,

Recently i start working on ionic framework now i face one issue, i have to use 3 or 4 popup in different different situations, and for that i want to define these popup once in teag and call them in different controllers. plz help me.
Thanks

Hey,

i made you a quick example. you can use a directive for it.

Or create a generic popup service and re-use in the controllers.

regards,
kirrg

Thank you so much for solution. that exactly i want :smile: