sachinchoolur/ngclipboard

Any way to use an angular variable in data-clipboard-text?

jmona789 opened this issue · 1 comments

Hi, is there any way I can use an angular variable as the data-clipboard-text? I tried just putting the variable name in there with the curly braces around it but it just copies the name. I know I can use a hidden input and ng-value but that doesn't work well on mobile.

Nevermind, seems to work now