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 is service in angularjs with example?
How can you add an active class to a selected element in a list component?
What are the differences between angular and jquery?
How can we fix it?
Why use pipes?
What is constant?
What is components in angular?
Explain digest life-cycle in AngularJS?
How did you reverse a string?
Explain the concept of scope hierarchy? How many scope can an application have?
What is route guard?
What is semantic element in html?
Name the types of linking function?
How to bind to user input events to component event handlers?
Explain what is testability like in Angular?