Angular UI states have a name attribute

This is not documenting, but a name attribute is exposed, and is very useful.