0

I have this array of objects:

[{
  "flats":"600m <sup>2</sup>"
}]

When I'm getting this object I want to use it like this:

{{house.flats}} 

The result is literally the same as in the object. I was trying the following:

<sup>2</sup> 
&#178 
&sup2; 

but the result is always the same. Do you know how to get a nice "to power" character?

JJJ
  • 32,902
  • 20
  • 89
  • 102
Bartek Wójcik
  • 473
  • 3
  • 15

1 Answers1

0

Ok, sry - guy above was right - ng-bind-html is an answer.

Bartek Wójcik
  • 473
  • 3
  • 15