I\'m trying to implement custom sortBy
directive in order to make columns in html table sortable.
HTML:
-
I expect that the is getting melted away at some intermediate point when it is evaluated outside the context of a (put that template into some random part of your webpage to see the disappear).
In your position, I would use a in the template, change sort-by-directive
to an 'A' type directive, and use a ...
as before, without replace: true
.
- 热议问题