Hello,

In a controller I can give a key a value and display it in the 
corresponding view:

$scope.greeting="Hello World!!"

But if I add html to the string like this:

$scope.greeting="Hello <h1>World!!<h1>" or 
$scope.greeting="Hello<br>World!!"

the html gets escaped so it displays in the browser. that's not what I 
want, I want Angular to parse it. How can I do this?

-- 
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/d/optout.

Reply via email to