I am trying to add a dynamic class name to a ion-item. The code below will work as expected but I dont want to hardcode the class name I need it dynamic
INPUT
<ion-item class="card test" ng-repeat="account in data.accounts" href="#/app/{{account.template}}/{{account.id}}">
OUTPUT
<ion-item class="card test item item-complex" ng-repeat="account in data.accounts" href="#/app/templateName/2">
If I do the following though the output is not correct
INPUT
<ion-item class="card {{account.template}}" ng-repeat="account in data.accounts" href="#/app/{{account.template}}/{{account.id}}">
OUTPUT
<ion-item class="card templateName" ng-repeat="account in data.accounts" href="#/app/templateName/2">
Notice it doesn’t add the item or item-complex class any more