diff --git a/app.js b/app.js index 3c539ac..287e068 100644 --- a/app.js +++ b/app.js @@ -205,6 +205,7 @@ var LanguageModule; bindToController: true, controllerAs: 'ctrl', controller: LanguageSelecterController, + scope: [], compile: function (element, attr, transclude) { var preferredLanguages = []; var includeLanguages = []; diff --git a/app.ts b/app.ts index cb2147b..71e5f6f 100644 --- a/app.ts +++ b/app.ts @@ -214,6 +214,7 @@ module LanguageModule { bindToController: true, controllerAs: 'ctrl', controller: LanguageSelecterController, + scope: [], compile: function (element: ng.IAugmentedJQuery, attr: ng.IAttributes, transclude: ng.ITranscludeFunction) { var preferredLanguages: string[] = []; var includeLanguages: string[] = []; diff --git a/js/app.js b/js/app.js index 3c539ac..287e068 100644 --- a/js/app.js +++ b/js/app.js @@ -205,6 +205,7 @@ var LanguageModule; bindToController: true, controllerAs: 'ctrl', controller: LanguageSelecterController, + scope: [], compile: function (element, attr, transclude) { var preferredLanguages = []; var includeLanguages = []; diff --git a/js/app.ts b/js/app.ts index cb2147b..71e5f6f 100644 --- a/js/app.ts +++ b/js/app.ts @@ -214,6 +214,7 @@ module LanguageModule { bindToController: true, controllerAs: 'ctrl', controller: LanguageSelecterController, + scope: [], compile: function (element: ng.IAugmentedJQuery, attr: ng.IAttributes, transclude: ng.ITranscludeFunction) { var preferredLanguages: string[] = []; var includeLanguages: string[] = [];