title: angularjs : on paste get pasted text
body: <p>I have an angularjs directive which listens to on paste event of my textarea:</p>
  
  <pre><code>element.on('paste', function (event) {
  });
  </code></pre>
  
  <p>How do i <strong>get the pasted text</strong>? I tried:</p>
  
  <pre><code>event.clipboardData.getData('text/plain')
  </code></pre>
  
  <p>... and:</p>
  
  <pre><code>event.originalEvent.clipboardData 
  </code></pre>
  
  <p>... but both didn't work. Any suggestions would be helpful.</p>