Browser support: Chrome 43+, Firefox 41+, Opera 29+ and IE10+.
See the demo.
angular-clipboard has no other dependencies than Angular itself.
Require angular-clipboard as a dependency for your app:
Copy text from an input field by clicking a button:
You can supply a method to be called for the
on-error event. The
on-error function will be called with the error object as argument