title: ng-keyup preventDefault() not working
body: <p>I know it's far from being a best practice, but I really want to understand what's wrong.
  I wrote the following code in order to distinguish Enter from shift+Enter, and run the "code" I need:</p>
  
  <pre><code>ng-keyup="($event.keyCode == 13 &amp;&amp; !$event.shiftKey)
  ?
    [$event.preventDefault(),
     commentCtrl.edit(comment.id, comment.text),
     comment.edit=false, comment.text]
  :
    return"
  </code></pre>
  
  <p>when I press enter, I still get a \n added to my text... :(</p>
  
  <p>Help please!~</p>