Continuing the discussion from ActionSheet inside directive - strange behaviour:
The problem is, all the demos show a $scope.openActionSheet, but I use the same action sheet in three controllers, I don’t want to define three variables, I want to use a directive to do it. But, seems like actionsheet doesn’t work inside directives today. So, I’m trying to define an actionsheet inside a service and trigger open from a directive… something like that.
How Can I open an ActionSheet from a service?
I made this codepen
Also the log ‘CANCELLED’ appears in the second click.