What is the difference between `{'ngfor'}` and `{`ngforof`}` in angular 2?
Answer / Satyendra Kumar Gupta
In Angular 2, `{*ngFor}` iterates over an array or any Iterable object, while `{ngForOf}` iterates over an array-like object. The difference is that `{*ngFor}` requires the object to have a length property, whereas `{ngForOf}` does not.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the main advantages of angularjs?
Difference between services and factory.
What are directives in angular 6?
Explain deep linking in angularjs?
What is dependency injection in angularjs and how does it work?
How to debug AngularJS app in browser?
What is a cookie?
What are services in javascript?
What is a locale ID?
What is core module in AngularJS?
Why we need ngmodel in angular 4?
What is ngmodule decorator?