I have an element containing a value from my controller:
<span>[[myvalue]]</span>
which I'd change the background color depending on the value. For example values 1-5 should have red and 6-10 should have green.
<span style='background-color: #green'>9</span>
<span style='background-color: #red'>1</span>
What is the simplest way to achieve this?
