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

197
Views
Dynamically parsing arrays in HTML using ng-repeat

I am a newbie to AngularJS and HTML, sorry if these questions are very basic . I am trying to create a HTML table using ng-repeat by parsing an JS array. The sample data is given below

sample record:

data:{"acceptable":12,"run2":{"avg":0,"percent":0},"run1": {"avg":"9.337","percent":"10.401"},"trname":"ESSCreateIncident","target":8},

  1. Require to use ng-repeat to dynamically build an HTML Table like the one given below, in the same order. The below code which i tried is static and will not work if there additional parameters to it.

ng-repeat="row in data" {{row.trname}} {{row.target}} {{row.acceptable}} {{row.count}}

HTML table structure

There could be multiple runs like run3, run4 etc, which has multiple variables in it.
  1. Also i am pushing data into these arrays in different order, but i believe they are sorted alphabetically as shown above. i need them in the order which is given in the image or the the order they are pushed in.
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!