directive in module ng
The ngRepeat directive instantiates a template once per item from a collection. Each template instance gets its own scope, where the given loop variable is set to the current collection item, and $index is set to the item index or key. Special properties are exposed on the local scope of each template instance, including: Variable Type Details $index number iterator offset of the repeated element (0..length-1) $first boolean true if the repeated element is first in t