es6 array find if equals id code example Example: angular list contains property vendors.filter(function(vendor){ return vendor.Name === "Magenic" })