docs(guide/directive): clarify attr object definition

Closes #5884