filter snippet to avoid writing [""] in html

(gives syntax errors from angular)