added documentService to index.html