Refactor Angularjs controllers(Jobs, jobDetail, jobAttachments)