title: AngularJS ng-keypress not triggering
body: <p>I´m having some problems while trying to implement ng-keypress in AngularJS. I already looked at another post´s here but still can´t make it work. </p>
  
  <p>Here is my HTML code:</p>
  
  <pre><code>@extends('app')
  @section('content')
  &lt;div ng-controller="GameController"&gt;
  &lt;div id="chatZone"&gt; 
          &lt;form action="#" method="get" id="id_form_chat"&gt;
              &lt;input type="text" id="m" autocomplete="off"  ng-model="chatMsg" ng-ng-keypress="keyPressMsg($event)"&gt;
          &lt;/form&gt;
  
          &lt;ul id="messages"&gt;&lt;li ng-repeat="m in chatMessages track by $index"&gt;@{{m}}&lt;/li&gt;&lt;/ul&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  @endsection('content')
  </code></pre>
  
  <p>My Angular code:</p>
  
  <pre><code>(function(){
  "use strict";   
  var module = angular.module('memoryGame', []);
  
  function GameController($scope, $http, $timeout) {
          $scope.keyPressMsg = function($event){
          console.log("success");
          };
  
  }module.controller('GameController', ['$scope', '$http','$timeout',       GameController]);
  })();
  </code></pre>
  
  <p>EDIT1:
  Sorry guys the problem is when i change text in the input box the function in my controller doesn´t trigger itself..
  I have edited both angular and html code if u could take a look i would be greatfull</p>
  
  <p>I dont catch anything on console</p>
  
  <p>EDIT2: Solved sorry was misspelling a word.. </p>