angularjs - Angular filter to add " before and after variable content -
i have following html / angular code: <blockquote> {{testimonial.text}} </blockquote> how can create filter, named blockquote, add " before , after {{testimonial.text}}? something like: {{testimonial.text | blockquote}} would render as: "testimonial text content" in opposing current code renders: testimonial text content just create filter adds " on start , end of input: .filter('blockquote', function() { return function(value) { return '"' + value + '"'; } })