Thanks for looking. I am implementing ng-clip in my project successfully for various tasks such as copying a value to the clipboard when a user clicks a button. Of course this is handled declaratively like so:
<a clip-click-fallback="CopyStuff()" clip-copy="ModelToBeCopied">Foo</a>
I now have a need to add an item to the clipboard from the Angular controller, specifically, a string that is returned from the server in a call back function:
$scope.Callback = function(response){
//How do I copy the response to the clip board??
}
Any help is appreciated.