dimanche 30 mars 2014

How to display html data in my app?


Vote count:

0




I am using Angular framework to populate my data in my app.


my data contains html tag


It's something like



$scope.test = <p>this is a test<?p><strong>Bold text here...</strong>


In my html



<div>
{{test}}
</div>


The output on browser show exact text '<p>this is a test</p> <strong>Bold text here...</strong>'. I want it to parse html tag and show'


this is a test


Bold text here....

Is that possible?


Thanks a lot!



asked 41 secs ago






Aucun commentaire:

Enregistrer un commentaire