diff --git a/app/js/directives.js b/app/js/directives.js index 15bc5b98..aaff8ac7 100755 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -573,6 +573,7 @@ angular.module('myApp.directives', ['myApp.filters']) templateUrl: templateUrl('message_attach_photo'), link: function ($scope, element, attrs) { $scope.openPhoto = AppPhotosManager.openPhoto; + $scope.preloadPhoto = AppPhotosManager.preloadPhoto; } }; })