break directive template out into seperate html file