Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain directives ng-if, ng-switch and ng-repeat?



Explain directives ng-if, ng-switch and ng-repeat?..

Answer / 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

More AngularJS Interview Questions

How to use filter in angular js?

0 Answers  


List the differences between observables and promises in angular 2?

0 Answers  


What is difference between react and angular?

0 Answers  


What is emit in angular?

0 Answers  


What is use of $routeprovider in angular js?

0 Answers  


List the types of data binding supported by angular 5?

0 Answers  


What is the main purpose of find index in angularjs, and what does it return if no value is found?

0 Answers  


How to build mobile apps using ionic 3 cli and angular 4?

0 Answers  


What is map in angular?

0 Answers  


What is route guard?

0 Answers  


What is the use of custom directive in angular 2?

0 Answers  


How angular protects us from xss attacks?

0 Answers  


Categories