$ionicScrollDelegate callback

Hey guys,

I’m trying to use the $ionicScrollDelegate feature with a call back. I am using the cordova screenshot plugin to take a snapshot of the screen to share on facebook, but I need the screen to scroll down before that happens. The problem is that the ScrollDelegate service is asynchronous and so is the cordova screenshot plugin. I’ve implemented the screenshot plugin using promises, but I need a way of resolving that promise only once I know that the screen has scrolled to the propper location. I could use timeouts, but I’d rather not. Is there a more graceful way?