From d7965bf5a132d1e687365705dc056cf90631466a Mon Sep 17 00:00:00 2001 From: Meldinoor Date: Thu, 26 May 2016 14:53:33 +0200 Subject: [PATCH] Fix scope issue --- app.js | 1 + app.ts | 1 + js/app.js | 1 + js/app.ts | 1 + 4 files changed, 4 insertions(+) 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[] = [];