Currently, I am facing the following scenario:
<div ng-click="foo()">
<a ng-click="bar()">Bar</a>
<p>Lorem Ipsun</p>
</div>
The issue at hand is that when I click on "Bar", both foo() and bar() functions are triggered. How can I ensure that only the bar() function is called when clicking on Bar, and that foo() is only called when not clicking on bar()?