Open aztack opened 11 years ago
How to surround text with tag conditionally in AngularJS?
<div ng-switch="!!link"> <a ng-href="{{link}}" ng-switch-when="true">linked</a> <span ng-switch-when="false">notlinked</span> </div>
credit Umur Kontacı
How to surround text with tag conditionally in AngularJS?
credit Umur Kontacı