-2
I have a json, in my form I have a button "Proximo" and "Anterior", I need to create a code that shows the next or previous record, as I click the buttons, I am using angular, someone could give a hint of how this code could be ?
json
[{
"Type": "Debito",
"Date": "01/11/2016",
"TransactionValue": 371.6,
"Id": "388354",
"Description": "ENVIO TEV",
"Checksum": 388354,
"lancado": "Não"
}, {
"Type": "Debito",
"Date": "01/11/2016",
"TransactionValue": 148.0,
"Id": "389749",
"Description": "ENVIO TEV",
"Checksum": 389749,
"lancado": "Não"
}, {
"Type": "Debito",
"Date": "04/11 /2016 ",
"TransactionValue ": 508.2,
"Id ": "33531 ",
"Description ": "PAG BOLETO ",
"Checksum ": "33531",
"lancado ": "Não "
}]
Got some code ready ?
– Mauro Alexandre
What does this json look like? Put this json and the code you already have
– Giovane
I made an ng-prepeat creates several Ivs, when I click on a div, it opens a screen with the data of the record, in this same screen, I want to create a button forward and back, not having to close the screen and click on another div
– alessandre martins
Dude, if you use routes you can use an Angular Breadcrumb that’s pretty cool
– Sorack