TEI Viewer uses angular directive for DOM manipulation