Explaining simple directive example