angular upd. (ternary operator in template)