$ionicPopup outside controller?


#1

Hello! I am trying to make a simple shopping list application with Ionicframework. I have external .js file where I want to use Ionic popup service. How I can do that? I know I can’t use straight $ionicPopup. Is there any reasonable solutions to do this?


#2

Anyone? Is this even possible?


#3

If you are saying you have an ionic app and want to call $ionicPopup from a service rather than a controller, then the answer is sure you can. Why do you think you can’t?