// Using Device API passing the Type ID in the query string Device.all({ type: TYPE_ID }).success(function(devices) { scope.devices = devices; }) // Using JSON filtering (this example uses underscore) Device.all().success(function(devices) { scope.devices = _.where(devices, { type.id: TYPE_ID } });