fix a bug with templating

if we push Model.get directly onto CardsCtrl#items, it starts out as an
unresolved promise, so the logic for getting the template name fails
be consistent about where template name logic lives