Broke card display into a directive.