Ok, Now I see this: http://docs.angularjs.org/api/ngSanitize/service/$sanitize Do I need to do this for every variable I'm binding as HTML?
On Fri, Feb 28, 2014 at 12:17 PM, Yonatan Kra <[email protected]> wrote: > Thanks. > I tried it. > It screams something about "unsafe". > I just used the same code as in the angular doc. > Any idea why? > > > On Fri, Feb 28, 2014 at 10:22 AM, Luke Kende <[email protected]> wrote: > >> Use ng-bind-html >> >> http://docs.angularjs.org/api/ng/directive/ngBindHtml >> >> >> On Thursday, February 27, 2014 7:35:33 AM UTC-7, Yonatan Kra wrote: >>> >>> Hi, >>> I have a simple bound data such that: >>> <div ng-repeat="item in items" ng-bind="item"></div> >>> *items *exist in the scope and hold several text and/or HTML snippets >>> (very simple snippets). >>> Some of my items contain special symbols like: ° (which is the >>> degree symbol). When they are printed out, I see the symbol code and not >>> the symbol itself. >>> How do I add these symbols to my UI? >>> >>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "AngularJS" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/angular/Ge2_x_XA1Uo/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
