Is it possible / and how / to write inline css style using angular variables?
<div style="background: transparent url({{eventInfo.eventHeaderImg}}) top center no-repeat;"></div>
This is my output
"NetworkError: 404 Not Found - http://test/eventInfo.eventHeaderImg"
So I see it didn't render this value.
I know it's possible to change this in controller, but is it doable with my approach?
eventInfo.eventHeaderImgvariable in current$scopehold'eventInfo.eventHeaderImg'value?{{eventInfo.eventHeaderImg}}in thestyleattribute as an argument tourl(the exact same thing you do in your question). And it works fine. I think there was a bug with thestyleattribute in earlier versions of Angular. What version are you using ?