Here is my example:
<img data-placement="bottom" data-toggle="tooltip" class="tip"
data-original-title="{{user.dbInfo.city}}, {{user.dbInfo.country_name}}"
src="https://countryflags.io/{{user.dbInfo.country}}/flat/24.png">
and I want to show the {{user.dbInfo.city}}, only if the variable exists. In some cases there is no city.
How can I achieve this ?
data-original-title, because template solution might be weirduser.dbInfo.hasOwnProperty('city')inngIf??