Save base64 to gallery

I have a base64 stored in my $scope.

Trying to implement the cordova base64ToGallery plugin.
What is the right way of using it in a service?

-Fredrik :slight_smile: