Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Aptitude | AngularJS Quiz | Set-2 | Question 15

  • Last Updated : 20 Sep, 2021

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
Recommended Articles
Page :