I have this html snippet:
<div class="principal-page">
<p class="main-chart"
...
<i class="fa fa-bolt"></i> {{$ctrl.voltage}}
</p>
</div>
I want to show the icon and the text only when $ctrl.voltage
is present (has at least on character).
Now, even without a string it shows the icon no matter what.
Any ideas to do this?