Ng-if will create new scope, so it make a bug, so we can use ng-show

Ng-if will create new scope, so it make a bug, so we can use ng-show replace it