wrong closing template tags on compileDirective

Just close tags properly, maybe you want to fix it. 
Thanks for the blog post btw