I am a designer/front-end developer and have little to no experience with Angular, so I'm hoping to get some help here. I have the following html
<div class="dropdown">
<div class="options"></div>
  <div class="add">
    <i id="add-issue-plus" class="icon-plus" data-ng-click="addIssue($event)"></i>
    <input id="add-issue-field" data-ng-model="newIssueName" type="text" placeholder="Create a new issue"/>
  </div>
</div>
I would like to trigger the click event from the <i> element if the user presses enter while in the subsequent input.  I wanted to do this the simplest way possible without writing a separate function.  Anyone with Angular experience know of the best way to do this?  I know I could easily use jQuery and do something like:
$('#add-issue-field').keypress(function(e){
   var key = e.which;
   if (key === 13) {
      $('#add-issue-plus').click();
        return false;
  }
 });
But I was wondering if anyone had tips for a more efficient method.
 
     
     
     
    