Skip to content
Related Articles

Related Articles

Web technologies Questions | AngularJS Quiz | Set-3 | Question 10

View Discussion
Improve Article
Save Article
  • Last Updated : 20 Sep, 2021
View Discussion
Improve Article
Save Article

Which directive is used to specify the condition to show or hide the child elements in HTML DOM?
(A) ng-switch
(B) ng-cut
(C) ng-readOnly
(D) ng-input


Answer: (A)

Explanation: The ng-switch directive in AngularJS is used to specify the condition to show or hide the child elements in HTML DOM manipulation. The Html element will be displayed if the expression inside the ng-switch directive returns true other wise it cant show any effect it will hide automatically.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!