Created simple Angular directives for cards