This looks fine.But should we need to write filter to handle all such scenario's, html text containing \t \n \r etc ... to interpret them .
On Wednesday, February 9, 2011 at 7:13:13 PM UTC+5:30, Paul Hammant wrote: > > I can't do JS things in the middle of an Angular expression of course. > Like changing newlines from a JSON feed into the HTML equiv (as in the > subj line) > > What can I do instead? I looked online for examples ( > http://www.angularjs.org/Ng:format and alike ) but could not find what I > was looking for. > > Great work guys, by the way. > > - Paul > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.