AngularJS ng repeat Directive
AngularJS ng-repeat Directive
The ng-repeat directive is used to repeat a set of HTML a given number of times. The set of HTML will be repeated once per item in a collection. The collection must be an array or an object. If the collection is in the form of objects, then ng-repeat is best for making an HTML table.
Syntax:-
< element ng-repeat="expression" >< /element >
Further Explanation:-
Value | Description |
---|---|
expression |
An expression that specifies how to loop the collection.
|