Is there a way to search through an array of objects and locate a specific object based on a property match?
$scope.items = [
{ id: 1, name: 'one' },
{ id: 2, name: 'two' },
{ id: 3, name: 'three' }
];
$scope.item = $scope.items.find({ id: 1 }); // pseudo-code