I have a popup template that use with $ionicPopup i need to call this from anywhere on app, and change the data with parameters, example:
Show a warning icon, some text and one button
Show different icon, and diferent text, and two buttons
and so …
The really issue are past the parameters and call from anywhere.