In Angular, what does the 'ngFor' directive do? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
6 followers study24x7 02 Aug 2023 11:07 AM study24x7 study24x7

In Angular, what does the "ngFor" directive do?

A

It creates a new instance of a component for each item in a collection.

B

It binds data from a component to an HTML template.

C

It allows creating and managing forms in Angular applications.

D

It iterates over a collection and generates HTML elements for each item.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles