use directive to replace calendar view template