access a sub-array of a json in angular 5

0

Hello my question is how to show the elements of a json that in turn has another internal subarray this is the response of web api

 {
     "urgente": 0,
     "detalle": "Personal sin datos de preparación académica "
  },
  {
     "urgente": 0,
     "detalle": "Personal sin datos de preparación académica "
  }


],
   "codigo": "200",
   "encabezadoPendientesPlantilla": {
      "PendientesPlantilla": [
         {
            "Urgente": 1,
            "Descripcion": "Urgente(s)",
            "Total": 310
         },
         {
            "Urgente": 0,
            "Descripcion": "Importante(s)",
            "Total": 32
         }
      ]
   }

The question is how to show the PendingTemplate header property elements of PendingTemplate ie display urgent, description and total in the client view.

    
asked by Juan Perez 14.09.2018 в 01:40
source

0 answers