new version; splitting docs between plugin and directive pages