ngClipboard
ngClipboard copied to clipboard
Allow user to copy script tags also
Hey there,
Using textarea
instead of span
will allow us to use script tags in our copy string as below:
<script type="text/javascript">
!( function( w, d ) {
'use strict';
var awesome = 'ngClipboard';
console.log('Something awesome: ');
console.log(w);
console.log(d);
})( this, document );
</script>