Home »
MCQs »
AngularJS MCQs
Which is the correct syntax of AngularJS directive ng-show?
60. Which is the correct syntax of AngularJS directive ng-show?
- ng-show:"true/false"
- ng-show="true/false"
- ng-app ng-show="true/false"
- None of the above
Answer: B) ng-show="true/false"
Explanation:
The syntax of AngularJS directive ng-show is: ng-show="true/false"