fix(compile): add a test for directives with a controller and a template