I got a list of Peoples (people object) from my json API and I saved it in a variable accessed via this.people.
I need to access the person where his pivot object age = 15 assuming there is only one pivot object defind with age of 15.
- Can I access this specific object with angular 2?
- If not, will I have to change my API to make a new request for it?
Thanks in advance!