I was trying to update the image being displayed after an image file with same name overwrote the previous file and came across this link:Reload/refresh an element(image) in jQuery
I had a scope element "imgUrl" which I was passing in the data-ng-src as:
<img data-ng-src="{{imageUrl + '?' + GetTimeStamp()}}">
This thing worked but I also tried this:
<img data-ng-src="{{imageUrl}} + '?' + {{GetTimeStamp()}}">
And this didn't work. Whats the difference between these two expressions?