Comparing image url instead of image object. This broke ng-cordova-galleria-childwindow