Refactoring for currentDocument, use Service to retrieve currentDocument instead of edit helper config during indexController action
Refactorgin CurrentDocument