Explain ngfor directive with an example?



Explain ngfor directive with an example?..

Answer / Deepak Kumar

The ngFor directive is used to repeat an element for each item in a list. Here's an example: `<ul>n <li ngFor="let item of items">{{item}}</li>n</ul>`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is event in angularjs?

1 Answers  


How would you make use of ngoninit()?

1 Answers  


What is another word for module?

1 Answers  


Why do we use ts instead of js?

1 Answers  


Explain routing in angularjs?

1 Answers  


What is router-outlet directive in angular 2?

1 Answers  


What is ngrx?

1 Answers  


How to isolate a directive’s scope in angularjs?

1 Answers  


What are guards in angular?

1 Answers  


What is node js good for?

1 Answers  


Do I need angular?

1 Answers  


What is angular json file?

1 Answers  


Categories