Calling An Angularjs Attribute Directive From Inside An Ng-repeat
I have a collection of table column objects that I am iterating over using ng-repeat. I am building the table dynamically based on the columns the user wants to see. Each TH tag c
Solution 1:
It has been a while since I've done any Angular, but are you sure you need the double brackets in your collection and sortcolumn attributes? As in, does this work?
<th ng-repeat="col in cols" sortable collection="col.collection" sortcolumn="col.sortcol">{{col.DisplayName}}</th>
Post a Comment for "Calling An Angularjs Attribute Directive From Inside An Ng-repeat"