These are chat archives for angular-ui/ui-select

27th
May 2015
Travis Hathaway
@travishathawayrocket
May 27 2015 14:28
I'm trying to use "group-by" on the "ui-select-choices" directive, but I am getting "$sce/unsafe" errors. When I try to use the function $sce.trustAsHtml() for returning the string in my "group-by" function, I no longer have the error, but I get duplicates of the group for every item which belongs in it.
I think may have to do with the object that $sce.trustAsHtml() is returning. Has anyone had this issue before and/or knows a solution to it.