Basic directive with attributes