in Angular by

Why is the ngFor directive used?

1. to give components properties that you want to expose when using the component

2. to call the built-in properties from the DOM on existing elements

3. to allow the selector to find a match on an element attribute

4. to repeat markup when looping over some data

1 Answer

0 votes
by
Correct answer is :- to repeat markup when looping over some data
...