So I'm trying to change the source of the image depending on an expression to see if its true or not.
HTML
<img ng-src="category.content.Value >= category.content.ValueOneWeekAgo ?
'Images/green_arrow.png' : 'Images/red_arrow.png'" />
This is how the rendered html looks like:
<img ng-src="category.content.Value >= category.content.ValueOneWeekAgo ? 'Images/green_arrow.png' : 'Images/red_arrow.png'"
src="category.content.Value >= category.content.ValueOneWeekAgo ? 'Images/green_arrow.png' : 'Images/red_arrow.png'">
I know the variables contains values which was confirmed by debugging. Probably something simple but i can't seem to figure it out.