docs(guide/directive): fix example style

* use -Controller suffix
* use array annotations
docs(guide/filter): fix example style

* use -Controller suffix
* use array annotations