test directive with templateURL