Zoom and pan images with AngularJS