title: scope.$watch() is not triggered after enter key press nor location.path is working
body: <p>There is a strange issue I am facing with angular js. Let me explain...</p>
  
  <p>I am using scope.watch to watch the text changes in text field (searchloco)</p>
  
  <pre><code>&lt;input class="typeahead"  ng-model="searchloco" data="{{varu}}" search-bar   type="text"&gt; 
  </code></pre>
  
  <p>I am also using keydown function to detect enter key press and what I need is to change location.Path on Enter key press.</p>
  
  <p>But when I type any key (not enter) it works fine i.e it is getting text update in watch as well as keydown function is also working fine.When I hit Enter key, keypress event does fire but watch cycle does not work for this key neither the statement "Location.path("/") is working , which is just below the if statement which confirms that it was a 'enter' key , until or unless I type another key(a-z).</p>
  
  <pre><code> element.on( 'keydown' , function (e){
              console.log("=== key down pressed === ",e);
              if(e.which == 13){
                  location.path('/search/');
                   ...
                   ...
  </code></pre>
  
  <p>Not sure if I could explain the issue so that it is easy to understand so let me know if I need to explain more.</p>