minor refactor of the annotation directive
Merge branch 'document_transaction' of github.com:sharewave/frontus into document_transaction