fixed when create a new file in folder view, line number doesn't show, and refactor doc-controller.js file