Issue #8806 by tuj: Attempt to fix ng-show