title: Get value of textbox on ng-keypress in Angularjs
body: <p>I want to get the value of the textbox on keypress.</p>
  
  <p>I have html code like </p>
  
  <pre><code>&lt;input style="width: 20%; float: right;" 
         ng-model="que.SelectedOptionsUID" 
         type="text" 
         ng-keypress="myFunct($event)"/&gt;
  </code></pre>
  
  <p>And JS code on my controller:</p>
  
  <pre><code>$scope.myFunct = function (e) {
      var charCode = (e.which) ? e.which : e.keyCode;
      //i want here value of the textbox 
  }
  </code></pre>