Home »
MCQs »
AngularJS MCQs
Which AngularJS directive is used to define AngularJS code that will be executed when the element is being clicked?
59. Which AngularJS directive is used to define AngularJS code that will be executed when the element is being clicked?
- ng-click
- ng-mouseOver
- ng-mouseClick
- ng-mouse
Answer: A) ng-click
Explanation:
The ng-click directive is used to define AngularJS code that will be executed when the element is being clicked.