I don't know Aurelia, but in straight up Javascript, you need to move the back ticks to the outside of the string and change the way you concatenate the second num.
The string would need to be:
<div class=`myclass__spinner ${num ? 'myclass_progress__color_'+num : ''}`>