How could I scan an array of objects in order to find an object by matching the object property:
$scope.items = [ { id: 1, name: \'one\' }, { id: 2, name: \
You can use Angular's built-in filter functionality to perform the search:
$scope.filteredItems = function() { return $filter($scope.items, id == filterID); }
Here is a fiddle showing the filter in action: http://jsfiddle.net/wittersworld/xV8QT/