title: AngularJS: ng-keypress is not working
body: <p>Problem: ng-keypress is not working but if I replace <code>ng-keypress</code> with <code>ng-click</code> then <code>filterSearchData($event)</code> function is working.</p>
  
  <p><strong>HTML:-</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="myApp"&gt;
      &lt;head lang="en"&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;title&gt;Custom Plunker&lt;/title&gt;  
          &lt;link rel="stylesheet" type="text/css" href="ng-grid.css" /&gt;
          &lt;link rel="stylesheet" type="text/css" href="style.css" /&gt;
          &lt;script src="jquery.min.js"&gt;&lt;/script&gt;
          &lt;script src="angular.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="ng-grid.debug.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="main.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;body ng-controller="MyCtrl"&gt;
              &lt;input type="text" ng-keypress="filterSearchData($event)" /&gt;
              &lt;div class="gridStyle" ng-grid="gridOptions"&gt;&lt;/div&gt;
          &lt;/body&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>JS:</strong>-</p>
  
  <pre><code>var app = angular.module('myApp', ['ngGrid']);
  app.controller('MyCtrl', function($scope, $http) {
      $scope.filterSearchData = function(element) {
          console.log(element);
      };
  });
  </code></pre>