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: &#176 (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 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.

Reply via email to