in my directive i have a template like the following
template:'<li ui-sref-active="active" ng-class="\'has\'+ getSubClassString(item)">'+
'<a ui-sref="{{item.state}}">' +
'<span ng-class="getSubClassString(item) + \'-menu-text\'">{{item.content}} </span>' +
'</a>' +
'</li>'
in the ng-class attributes i am trying to concat a string with a function that returns a string, but it doesn't seem to be working, what am i doing wrong?