Skip to content
Related Articles
Open in App
Not now

Related Articles

Aptitude | AngularJS Quiz | Set-2 | Question 15

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

The directive which is responsible for adding or removing the element in HTML is:
(A) ng-switch
(B) ng-model
(C) ng-Disabled
(D) ng-Cloak


Answer: (A)

Explanation: The ng-switch is used for swapping the DOM structure so the ng-switch is a directive that is responsible for adding or remove the element in HTML. It is also responsible to show or hide the element that is dependent on the expression.

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

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!