Explain Difference Between For Of and For In Loop
The for of
iterates over an iterable object such as an array.
The for in
loop interates over the properties of an object.
Angular2 selected to use the of keyword in the ngFor. The ngFor directive iterates over iterable objects, not their properties