I have this jsfiddle.
https://jsfiddle.net/helpme128/rba7zqzn/
Inside the jsfiddle, the CSS looks like this;
#container {
width : auto;
height: 1200px;
background:url('https://i.sstatic.net/GgZvy.jpg');
background-repeat:no-repeat;
}
I would like to modify this jsfiddle such that the css can look more angular like;
#container {
width : auto;
height: 1200px;
background:url({{backgroundURL}});
background-repeat:no-repeat;
}
Inside the controller, there would be a line like this;
$scope.backgroundURL = 'https://i.sstatic.net/GgZvy.jpg';
How can this be done with angularjs inside css?