AngularJS: ng-click on img? Manipulating images (kind of gallery-like) with jQuery?
Should ng-click work with img tag ? <img ng-src="img" ng-click="openNewWindow(url)/> myFunction is defined in controller and is $scope available … Nothing gets called; any ideas? (I would like to open a new tab/window when image is clicked, but I don't even get into my function) Thanks for any info EDIT I probably rushed myself when first asking this question. I know now why it doesn't work in my case: I am manipulating images with jQuery for some kind a 'gallery' effect … (if anyone has an idea how to do that in AngularJS please bring it on). This is the html I am talking about: <div class=