Here I have a JSON like this:
{"years":[
{
"year_title":"94",
"months":[...]
}
{
"year_title":"95",
"months":[...]
}
{
"year_title":"96",
"months":[...]
}
]}
and I have managed to show it's data with following code:
<div ng-repeat="year in event.years">
<h1>{{year.year_title}}</h1>
<div ng-repeat="month in year.months">
<h3> {{month.month_title}} </h3>
</div>
</div>
So it obviously shows me my whole data (all years, all months). but what if I want to show only months of specific year.!? thanks guys...