Answer Posted / chaitanya
ng-if – This directive can add / remove HTML elements from the DOM based on an expression. If the expression is true, it add HTML elements to DOM, otherwise HTML elements are removed from the DOM.
ng-switch – This directive can add / remove HTML elements from the DOM conditionally based on scope expression.
ng-repeat - This directive is used to iterate over a collection of items and generate HTML from it.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
When did you use currency filter in angularjs?
How to communicate between parent and child components?
Is the jquery library used in angular?
Explain ng-include directive.
What is activatedroutesnapshot in angular 2?
What is art compilation?
What is angular cli? List the command to install angular cli?
Give the example of angularjs object?
Why we use ng app in angularjs?
Where can I learn angularjs?
What is router and why is it used in angular?
Explain how routing works in angularjs?
What is difference between ng if and ng show?
What are services in angularjs?
What is difference between structural and attribute directives?