I am beginner to Angular. I want to represent my json in different way.
Parent node should not be repeated for each row (only allowed to first 
row). 
First row will contain Parent Node info +  child node info for second row 
onward  Parent data will be blank and only child data will be represent.
Please see the attached screen shot for output format.
Here is my json

[  
   {  
      "name":"rohit",
      "details":[  
         {  
            "number":"97XXXXXXX87",
            "provider":"airtel",
            "circle":"maharashtra"
         },
         {  
            "number":"81XXXXXXX87",
            "provider":"vodaphone",
            "circle":"karnataka"
         }
      ]
   },
   {  
      "name":"rajesh",
      "details":[  
         {  
            "number":"98XXXXXXX88",
            "provider":"airtel",
            "circle":"maharashtra"
         },
         {  
            "number":"81XXXXXXX85",
            "provider":"vodaphone",
            "circle":"maharashtra"
         }
      ]
   }
]

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to