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

631
Views
Angular2 ngFor skip first index

How can I skip the first index from the array?

<li *ngFor="#user of users">
    {{ user.name }} is {{ user.age }} years old.
  </li>
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

You could use the slice pipe.

<li *ngFor="#user of users | slice:1">
  {{ user.name }} is {{ user.age }} years old.
</li>

The first parameter corresponds to a positive integer representing the start index.

over 4 years ago · Santiago Trujillo Report

0

There is the SlicePipe for this use case:

  <li *ngFor="let user of users | slice:1">
    {{ user.name }} is {{ user.age }} years old.
  </li>
over 4 years ago · Santiago Trujillo Report
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!