Template "button" image is lost on click

I'm displaying an image in a template, when clicked it opens a notification showing the image in full size.

The problem I have is once clicked the image in the template is lost. I got around it by re-sending the image back into the template. This seems a bit messy, is there a better way ?

<div height="202" width="306">
    <img ng-src="{{msg.image}} "height="200" width="306" ng-click="send({image:msg.image})" >
</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.