Switched ng-show to ng-if