owlsomely/angular-image-zoom — pull request #7 by DropsOfSerenity (2014-12-23 23:01:47+00:00)
Title: Incorrect positioning of lens.

In deeply nested html structure the lens was not being positioned correctly. In order to fix this getOffset just needed to traverse up the offsetParent tree and add the offsets until it reaches the top.

While I was at it, I fixed your demo site as well :) Since grunt had `demo/` and `dist/` as roots, `dist/image-zoom.js` was not resolving.