I have some elements inside ngFor
loop. Some of them have tooltips while others don't. When I use the following code like this:
<div ngFor="let item of items">
<div [title]="item.title">
items that don't have tooltips will show undefined
. Is there a way to hide it if the item doesn't have one while other items' tooltips still get to show?