Angular directive for a calendar