I have the following json:
[
{
"id":"1",
"fecha_trama":"2016-02-16",
"hora_trama":"17:34:48",
"Nombre":"Evaluación de riesgos",
"Apellido":"Sala F",
"Sexo":"10h00-10h30",
"Residencia":"GESTIÓN DE PROYECTOS"
},{
"id":"2",
"fecha_trama":"2016-02-16",
"hora_trama":"17:34:49",
"Nombre":"Metodologia Scrum",
"Apellido":"sala D",
"Sexo":"09h30-10h00",
"Residencia":"GESTIÓN DE PROYECTOS"
},{
"id":"3",
"fecha_trama":"2016-02-16",
"hora_trama":"23:15:55",
"Nombre":"Python",
"Apellido":"aula 132",
"Sexo":"12h00-12h30",
"Residencia":"TIC-EC 2015"
}
];
Which I want to print each name on a grid. For this I found this example but it prints my json structure but not the name. I hope you can help me thanks
Code:
<div ng-controller="MyCtrl">
<div ng-repeat="i in numbers">
<div class="row" ng-if="$even">
<div class="col col-50">{{numbers[$index]}}</div>
<div class="col col-50">{{numbers[$index + 1]}}</div>
</div>
</div>
</div>
var myApp = angular.module('myApp',[]);
function MyCtrl($scope) {
$scope.numbers = [{"id":"1","fecha_trama":"2016-02-16","hora_trama":"17:34:48","Nombre":"Evaluación de riesgos","Apellido":"Sala F","Sexo":"10h00-10h30","Residencia":"GESTIÓN DE PROYECTOS"},{"id":"2","fecha_trama":"2016-02-16","hora_trama":"17:34:49","Nombre":"Metodologia Scrum","Apellido":"sala D","Sexo":"09h30-10h00","Residencia":"GESTIÓN DE PROYECTOS"},{"id":"3","fecha_trama":"2016-02-16","hora_trama":"23:15:55","Nombre":"Python","Apellido":"aula 132","Sexo":"12h00-12h30","Residencia":"TIC-EC 2015"}];
}
When executing this I print the structure and I or what I want to print is the following:
Risk assessment Scrum methodology Python