title: Cannot implement ZeroClipboard copy to clipboard directive in angular 1.2.3
body: <pre><code>app.directive('copyPost', ['$window', '$filter', 'ZeroClipboardPath', function ($window, $filter, ZeroClipboardPath) {
      return {
        scope: {
          postFn: '&amp;',
        },
        restrict: 'A',
        link: function (scope, element, attrs) {
          ZeroClipboardPath = ZeroClipboardPath || '//cdnjs.cloudflare.com/ajax/libs/zeroclipboard/1.1.7/ZeroClipboard.min.js';
          var clip = new ZeroClipboard( angular.element(element), {
            moviePath: ZeroClipboardPath,
            trustedDomains: ['*'],
            allowScriptAccess: "always"          
          });
          clip.on('mousedown', function(client) {
            console.log('shit works');
            scope.postFn().then(function(data){
              client.setText(data.data[0].external_url);
            });  
  
          });
        }
      }
    }]);
  </code></pre>
  
  <hr>
  
  <p>postFn gets the following function, which returns an HTTP promise(tested without the plugin, and the correct value is returned from the function into     </p>
  
  <pre><code>jobsServ.shareObject = function(object, identifier, data){
          if(object == 'job')
              return $http.post(utils.getBaseUrl() + '/jobs/' + identifier + '/share', data, utils.getConfig());
          else if(object == 'company')
              return $http.post(utils.getBaseUrl() + '/companies/' + identifier + '/share', data, utils.getConfig());
      });
  </code></pre>
  
  <p>ZeroCLipboard script:</p>
  
  <p><code>&lt;script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/zeroclipboard/1.1.7/ZeroClipboard.min.js"&gt;&lt;/script&gt;</code></p>
  
  <p>Problem: non of the ZeroCLipboard event are not firing.</p>
  
  <p>Already attempted the following:
  setting priority above 0(up to 100),
  an incognito window with no adons (add block, etc),
  using a local instance of the script and swf, and also the following settings:</p>
  
  <p>tried using angular.element() and $() on the element, even tried to use an jquery css selector with an explicit id, but now luck.
  Any ideas, anyone?</p>