add directive example