I have two object. //First for items
{
catId : [1, 2, 3],
name : "My name is George"
},
{
catId : 1,
name : "My name is Bob"
},
{
catId : 2,
name : "My name is Trump"
}
And for catId json
{
Id : 1,
name : "Hi"
},
{
Id : 3,
name : "world"
}
I want when user click in category json after ng-repeat and get category id after that filter my items object with category.Id.