create a directive that simply replaces its contents with a static template