Fix ng-show doc.id bug + start using controllerAs