spec update to use api to filter tasks instead of angular filter