header templeate and directive introduce