The Issue:
I've been unable to to accept a modal window with the ENTER key
I have modified the default Plunker to show you what I've done since now --> Here
What I have:
Briefly, the ENTER key is recognized by the modal, but it doesn't trigger my function (scope issues, I suspect).
The bad part is that I had to modifiy the template/modal/window, which I would gladly left unspoiled, if possible.
What I would love
I would love to simply put the ng-enter directive in my modal, without modifying the default template
Extra
I've also tried to add the "event 13" to the modal directive, but I couldn't pass any result in the modal.close, so I dropped that road
Any thought?
ng-enterdirective andtab-indexto the template defined in your html it works. However you must click on the div to give it focus to work. plunker