i think it's safer to go with ectoderm for teeth.
i am not sure if one of them is right or wrong, since most question is going to ask you which comes from which (instead of which comes from 2 of these), and usually integuments (such as nails and etc.) are always associated with ectoderm, it's prob safer to pick ectoderm in that case.