fixed filtering
use scope instead of controller when showing list of todos