I am new to Angular. I am trying to do switch the div
based on some condition :
<td>
<div layout="row" layout-align="start center">
<img ng-if="row.pin" ng-src="{{pinImageUrl}}" alt="Pinned @ {{row.pin}}" class="img-pin" />
<div ng-switch="checkUrl">
<a ng-switch-when="{{isNumber(row.id)}}" href="numberUrl ">
{{getName(row)}}
</a>
<a ng-switch-when="url" href="{{url + row.id}}">
{{getName(row)}}
</a>
<span ng-switch-default href="aaaaaa">
{{getName(row)}}
</span>
</div>
</div>
</td>
But {{isNumber(row.id)}}
not working. Can someone tell me what is wrong here ?