ngSrcset (directive)

Improve this Doc View Source ngSrcset

  1. directive in module ng

Using Angular markup like {{hash}} in a srcset attribute doesn't work right: The browser will fetch from the URL with the literal text {{hash}} until Angular replaces the expression inside {{hash}}. The 登录查看完整内容