Angular List - Array Only

To bind the List to an array, pass this array to the dataSource property. The array may contain primitive values...

... or objects.

If objects in an array need to be processed (sorted, filtered, grouped, etc.), you can create a Query. For example, in the following code, a Query sorts objects in the fruits array by the count field in descending order.

See Also