Improved data binding and reduced coupling in cards.html