diff --git a/services/web/public/coffee/ide/pdfng/directives/pdfJs.coffee b/services/web/public/coffee/ide/pdfng/directives/pdfJs.coffee index 8deba7548a..cd0662bd56 100644 --- a/services/web/public/coffee/ide/pdfng/directives/pdfJs.coffee +++ b/services/web/public/coffee/ide/pdfng/directives/pdfJs.coffee @@ -19,7 +19,7 @@ define [ style.text(textLayerCss + "\n" + annotationsLayerCss + "\n" + highlightsLayerCss) $("body").append(style) - App.directive "pdfjs", ["$timeout", ($timeout) -> + App.directive "pdfng", ["$timeout", ($timeout) -> return { scope: { "pdfSrc": "="