diff --git a/public/js/istex-widget.js b/public/js/istex-widget.js index 53602e7..dbdfbfe 100644 --- a/public/js/istex-widget.js +++ b/public/js/istex-widget.js @@ -10,7 +10,7 @@ }, - injectAngularDirective: function(){ + injectAngularDirectives: function(){ document.body.setAttribute("ng-app","istex-widget"); document.body.setAttribute("ng-controller","istexWidgetCtrl"); }, @@ -67,5 +67,6 @@ var istexWidget = new IstexWidget(); istexWidget.injectHTML(); +istexWidget.injectAngularDirectives(); istexWidget.injectCSS(); istexWidget.injectJS(); \ No newline at end of file diff --git a/test/testpage.html b/test/testpage.html index dc31210..32eaf7a 100644 --- a/test/testpage.html +++ b/test/testpage.html @@ -6,7 +6,7 @@ Test de la widget ISTEX - +