0

Im use handlebars so I cant use {{expression}}. So I change everything to ng-bind. Everything work find but I cant find a way to make it work with img.

ng-src="{{x.img}}" 
ng-src="?"
Kinny
  • 9
  • 1
  • 5

1 Answers1

0

please see it Using Express Handlebars and Angular JS . Handlebars content may be escaped in one of two ways, inline escapes or raw block helpers. Inline escapes created by prefixing a mustache block with \ . So you can try this :

ng-src="\{{x.img}}"

Akashii
  • 2,251
  • 3
  • 17
  • 29