Create how-to-create-diretives.js

An example on how to create directives.