List below is bound with Todo.items array and uses filtering bound with filter variable in model.
The switch allows to select filter you need.
Show Only even items (Custom function)

Done items

Not yet done items