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
How to rollback the whole object when navigating back to a page managed by angular router in angular 8?
How old is angular?
Explain component decorators in angular 4?
Why you use browsermodule, commonmodule, formsmodule, routermodule, and httpclientmodule?
What is the use of codelyzer in angular 2?
What are the characteristics of 'scope'?
What is the digest cycle in angularjs?
How to setup angular 2 in visual studio 2017 mvc 5 / 6?
How do components communicate with each other in angular 2?
How to debug the $rootscope object of angularjs when in the browser?
What are browser events?
What is deep linking in angular 2?
What is transclusion in angular?
What is flex in angular material?
How can you use factory method in angularjs?