I'm fairly new to Angular and currently experimenting with a module called ZeroClipboard.
I've made adjustments to my application in order to incorporate the module and configured it as per the demonstration.
var app = angular.module('JpqlEditor', ['ngRoute', 'ngResource', 'ui.bootstrap', 'toaster', 'chieffancypants.loadingBar', 'zeroclipboard']).
config(['uiZeroclipConfigProvider', function(uiZeroclipConfigProvider) {
// Configure ZeroClipboard
uiZeroclipConfigProvider.setZcConf({
swfPath: 'assets/flash/ZeroClipboard.swf'
});
}])
In my HTML, I've added the same structure as demonstrated:
<input type="text" ng-model="myText" />
<button ui-zeroclip zeroclip-copied="copied=true" zeroclip-model="myText">Copy</button>
<span ng-show="copied">Text Copied!</span>
However, as the page loads, I encounter the following error:
I cannot pinpoint where I may have gone astray as I meticulously followed all outlined steps. Any assistance would be highly valued.