Don't expect NgShow element to have ng-hide class applied before the expression has been evaluated.