Confirmation popup with Ionic
Sometimes you have to display a confrmation message to your users right after an action, such as saving, deleting, sending something or maybe something was wrong. I needed to implement this behaviour on a Ionic-based app I am working on.
So I wrote this service :
You can simply use it anywhere in your code (don't forget to dependency-inject the "common" service in your controllers/services) with something like :
Here is a codepen : http://codepen.io/lennycartier/pen/qdBBVL