Angular Background Image alterations
<p>I'm making a weather application using JS/HTML/CSS/Angular</p>

<p>I am trying to develop it so that while the weather is set to something then it will alter the background image to match.</p>

<p>Edit:</p>

<p>Here are the two codes I'm using from HTML and JS</p>

<p>In my html file:</p>

<pre><code>&lt;body ng-app="Weather" ng-style="{'background-image':'url({{newBg}})'}"&gt;
</code></pre>

<p>In my JS:</p>

<pre><code>  if($scope.Data.des == 'Clear'){
    $scope.newBg = 'http://i.stack.imgur.com/mfvI9.jpg';
  }

  if($scope.Data.des == 'Cloudy'){
    $scope.newBg = 'http://i.stack.imgur.com/mfvI9.jpg';
  }
</code></pre>

<p>Image is random just to test. Doesn't seem to work for me. </p>