Here's why:
* Angiosperms are flowering plants that produce seeds enclosed within an ovary (usually a fruit).
* Yucca plants produce flowers, and their seeds develop within a fruit.
Therefore, yuccas fit the definition of angiosperms.