docs(submenu): properly handle docsHeading directive

As docsHeading will eventually add the class .docs-heading, which
is the one that identify them as a submenu item, we need to wait this
to happen.
The way I found for now to do this is by applying a $timeout().
docs(helper classes): document helper classes

Closes #42