return 'logged ' + this.authService.isLoggedIn?'in':'out';
return 'logged ' + (this.authService.isLoggedIn?'in':'out');
삼항연산자 우선순위가 낮음을 유의하자