title: how to get event in an angularjs function
body: <p>In this code event display undefined.</p>
  
  <pre><code>&lt;div class="div1" ng-click="displayinfo(event)"&gt;
      sadfasf
  &lt;/div&gt;
  
  $scope.displayinfo = function(event)
  {
       alert(event);
  }
  </code></pre>
  
  <p>can anyone help.
  thanks</p>