title: Get vis.js networkEvents from the controller
body: <p>I need to use click event in my controller.
  The networkEvents are created in angular-vs.js directive and I need it in my controller to trigger the click event of individual nodes.</p>
  
  <p>This is a code snippet I'm using but it does seem to work: </p>
  
  <pre><code>$scope.networkEvents = { onload:function(network){ alert("Clicked"); } }
  </code></pre>
  
  <p>Thanks,</p>
  
  <p>Here is my <a href="http://plnkr.co/edit/N639ZxuIjvTO1MidM2D2?p=preview" rel="nofollow">plunker</a>.</p>