Moved imageData to scope.images model