I have a List of Object with the following Model structure:

```
export class Animal{
  public aniId: number;
  public aniName: string;
}

export Class Zoo{
 public id: number;
 public name:string;
 public aniId: number;
}

```

I have a list of a `Zoo` object which contains an `Id for Animal object` as shown below.

[{
 "id": 4343,
 "name": "Canada",
 "aniId": 1000
 },
 {
 "id": 12121,
 "name": "China",
 "aniId": 78
 },
 {
 "id": 4143,
 "name": "Russia",
 "aniId": 58
 }
 ]
My question : If I have a list of Animal Objects, How can I retrieve the list of corresponding Zoos that contains the Animal.

Ex: If I send a List of Animals which will contain animals of Ids 1000 and 58, I should get a list of Zoos of Ids 4343 and 4143

Note: I tried using filter, but i was not able to get the output.

```
allZoo = this.zooList.filter(x=> x.aniId === this.animalList); <-- Issue here

```