Ng-bind-html in textarea

I want to make <br /> in textarea to fall in line
<textarea rows="4" ng-bind-html="data.details"> {{data.details}} </ textarea>
It does not work
Help please :slight_smile:

You should probably NOT be putting the data in that way. You should be using ng-model. http://docs.angularjs.org/api/ng/directive/textarea

If you need more help, please setup a CodePen sample that shows what you are trying to do.

1 Like

Ok, thank you very much!!!