I'm consuming data from an api using angular, api is returning the following value with HTML:
variavel = '<p>testo de retorno</p>';
When I make the view in the view type {{variable}} is interpreted as string displaying the HTML. I need to display only the text considering the HTML tags, ie I can not remove the HTML. You have to display only the text and interpret the HTML.
Does anyone know how I can do this using angular?