Closed surfjedi closed 8 years ago
Why should you? You can add that to the directive container itself right?
True could add it to container but I am trying to refactor a huge code base and we just have alot of img tags with ngsrc and the ng-click on them already..
This directive doesn't use ng-src, so then if you will you need to move some stuff over. Now you can choose to have seo links arround it or clickable container which makes it beter usable by only focussing on delivering the right image at the right moment.
any way to pass ng-click into the image tag?