diff --git a/modules/core/client/services/mtCopyToClipboard.client.service.js b/modules/core/client/services/mtCopyToClipboard.client.service.js new file mode 100644 index 00000000..12c425a2 --- /dev/null +++ b/modules/core/client/services/mtCopyToClipboard.client.service.js @@ -0,0 +1,33 @@ +'use strict'; + +angular + .module('core') + .service('mtCopy', ['$window', function ($window) { + var body = angular.element($window.document.body); + var textarea = angular.element('