Whenever any element inside my DIV is clicked I want to execute a function in Angular controller.
How to do this?
Basically I am looking to place a ng-click on DIV element and expect the ng-click event be called when any/all elements nested inside the div are clicked.
How to achieve this requirement?
ng-clickon this div? Have you tried it?ng-clickand a button inside that container withng-clickcan demonstrate it. When you click the button inside the container, the ng-ckick of button will be triggered first there after the click of container will also be triggered