ng-show instead of if to avoid creating a new scope