use directive to represent a card
set current card and use external template to represent card