I am Building comments feature in my application by using Angularjs. So I have a problem in displaying the data. I am getting data from server like this:
This is the core collection of directives you would use in your template
code to build an AngularJS application.\n\nSome examples include: ngClick, ngInclude
the data contains \n. it indicates new Line.For displaying that data I am using ng-bind-html directive with $sce.trustAsHtml(data);. But data is displaying in same line not added new lines.
Can any one Help me Please.