Should ng-click work with img tag ?
myFunction is defined in controller and is $scop
I ended up wrapping each image with link and changing jQuery appropriately. It was the fastest and easiest for me.
And changed line
var backImg = $('.commercial-container img:first');
changed to
var backImg = $('.commercial-container a:first');