I think the each function is a little more semantic, but what I was really talking about was the `['all', 'food'].indexOf(c.id) === -1;`.  I think it's better to  separate the data from the logic wherever possible.  It's a small thing though.