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
What do you mean by ng-template?
How do you use singleton pattern?
Which is better react or angular?
How many scope can an application have?
What the different between a directive and component?
Why do we need custom directives in angular?
How did you reverse a string?
What are the features of angular 7?
Differentiate between dom and bom.
Mention what are the advantages of using angularjs?
How to enable and disable buttons with using condition?
What classes should I add to module's declarations?
What does the ng stand for in angular?
Explain ddo in angularjs?
Can we create our own directives?