I have a problem with nested ng-clicks which is somehow related to: Two nested click events with angularjs and Nested ng-click's in IE9.
I have the following html structure while the functions use $event.stopPropagation() to not call _outerFunction(). That works fine using the mouse. However, using the keyboard to navigate to either the first element or the 'hover_Button' and pressing 'Enter' will always call the _outerFunction() and not the actual ng-click of the element.
<div class="big_button" ng-click="_outerFunction($event)" title="foo">
<div class="section">
<a ng-href="" ng-click="_innerFunction1($event);" title="foo1"></a>
<div class="hover_Button">
<a ng-href="" ng-click="_innerFunction2($event);"> <i class="small-button" title="foo2"></i></a>
</div>
</div>
</div>
I'm out of guesses why the enter event is passed to the underlying ng-click and not just used by the element that is active.