'use strict'; /** * Filter converting new lines in
*/ App.filter('newline', function() { return function(text) { if (!text) { return ''; } return text.replace(/\n/g, '
'); } })