All:
Right now, what I want to do is very basic:
Just use the default highlight feature of Solr, and show the result on page.
But strange thing is : I get the highlight string which like "asds < em>keyword</em>", but it was treated as a pure string, in the html: it is wrap in "", I wonder how can I make that treated as tag?
Thanks
UPDATE This update is replaced by UPDATE2
I have figured out myself in a dangerous unsuggested way:
app.config(function($sceProvider) {
// Completely disable SCE. For demonstration purposes only!
// Do not use in new projects.
$sceProvider.enabled(false);
});
//In this way, we can disable that so-called **sanitize**
UPDATE2 Thanks to MatsLindh
Refer to Angular JS shows HTML within the tag