Tag: ng-repeat

57 votes
27 answers
1.5K views
Way to ng-repeat defined number of times instead of repeating over array?

Is there a way to ng-repeat a defined number of times instead of always having to iterate over an array? For

avatar
Keila
0 1 0 9
asked 07 September, 2021
61 votes
10 answers
1.8K views
Angular ng-repeat Error "Duplicates in a repeater are not allowed."

I am defining a custom filter like so: <div class="idea item" ng-repeat="item in items" isoatom>

avatar
Rudy
0 1 0 9
asked 07 September, 2021
51 votes
12 answers
455 views
ng-repeat :filter by single field

I have an array of products that I'm repeating over using ng-repeat and am using <div ng-repeat="pro

avatar
Jesenia
0 1 0 9
asked 07 September, 2021
60 votes
9 answers
3K views
How to iterate over the keys and values with ng-repeat in AngularJS?

In my controller, I have data like: $scope.object = data Now this data is the dictionary with keys and values

avatar
Keila
0 1 0 9
asked 07 September, 2021