Adds a directive example