SyntaxFix
Write A Post
Hire A Developer
Questions
Yes, I would either use the <pre> tag or use ng-bind-html-unsafe http://docs-angularjs-org-dev.appspot.com/api/ng.directive:ngBindHtmlUnsafe (use ng-bind-html if you are using 1.2+) after using .replace() to change /n to <br />
<pre>
ng-bind-html-unsafe
.replace()
/n
<br />