Create unified directive handler.
If the description is demoed, there is an error where the node status
cannot be found.  Also, handling for equations has not been implemented.
It might also make sense to migrate some of this over to controller.js