Right now I have a background image URL hard-coded into CSS. I\'d like to dynamically choose a background image using logic in AngularJS. Here is what I currently have:
You can use ng-class : documation. If you want to do it in your directive check directive - attr : attr.
ng-class
directive
attr