I have created a drop down filter in AngularJs. Please see the link.
http://plnkr.co/edit/c5Hrqfv1eA5qfQpkYR41?p=preview
It is working fine, but I want to replace my current JSON to a new one.
$scope.data={
"language": "en",
"0": {
"id": "2222",
"deck": [
{
"id": "2421",
"level": "5",
"name": "Plaza Deck 5"
},
{
"id": "2433",
"level": "6",
"name": "Fiesta Deck 6"
},
{
"id": "2442",
"level": "7",
"name": "Promenade Deck 7"
}
]
}
}
I want to change with the above JSON.
Please help.
Thanks.