Is there a way to dynamically change the background color of a div in Angular based on an expression value? Here is the sample code:
<div class="outer">
<h4 class="weather-heading">It's currently {{weather}}</h4>
</div>
I need to update the background-color of the outer div depending on the value of {{weather}} (e.g. sunny, cloudy). What would be the most efficient method to achieve this using Angular?