Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

174
Views
ng-repeat do not work on arrays of length > 23

Hello StackOverflow people !

TLDR; Fixed, my array was containing duped elements. On my way to clean this array ! Thanks @Igor for the light !

I'm currently working on a relic of the past : Angular JS (1.6) The problem here is simple : I have some divs that need to be repeated for each elements of an Array, things works perfect until the arrays exceed a length of 23 ...

Here's the code snippet of my issue :

<h4>
  <span ng-repeat="tag in editDocument.Tags | limitTo: 100" class="badge badge-pill badge-info">
    <span ng-bind-html="tag"></span>
    <a href="" ng-click="action_deleteTag_documentRow($event, editDocument.Id)">
      &times; 
    </a>
  </span>
</h4>

editDocument.Tags is populated with this array :

[
      'aerials',
      'aérien',
      'aériens',
      'fortress',
      'fortresses',
      'forteresse',
      'forteresses',
      'littoral ',
      'littoraux ',
      'nature ',
      'natures ',
      'mer ',
      'sea ',
      'coastline ',
      'eau ',
      'water',
      'architectures ',
      'architecture ',
      'patrimoine ',
      'patrimoines ',
      'heritage ',
      'monuments ',
      'monument ',
      'nature ',
      'natures ',
      'landscape ',
      'landscapes ',
      'paysage ',
      'paysages',
      'informative',
      'visit',
      'security',
      'work',
      'refreshment',
      'Fort-Brégançon',
      'opened',
      'public',
      'President',
      'François-Hollande',
      'managed',
      'Presidency-of-the-Republic',
      'site',
      'open',
      'reservation',
      'Bormes-les-Mimosas',
      'tourist-office',
      'quotes',
      'groups',
      'guided-tour',
      'last',
    ];

You can see here that I already tried to raise the limit by using the limitTo: 100 but it changes nothing.

I hope someone has a cheatcode for this. And obviously thank you for reading and brainstorming with me on this issue.

PS. : I log everytime the editDocument.Tags in order to check if the array is populated (it is.)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!