fix document list display bug when there are archive versions not shown and hide_completed is on
drop the use of $rootScope from annotation, and use the navState service directly