Documenting how to define an Angular directives