applying scope in angular vis type (#20461)
This commit is contained in:
parent
f9cc61580a
commit
a1e44ef496
|
@ -48,6 +48,7 @@ export function AngularVisTypeProvider($compile, $rootScope) {
|
|||
this.$scope.uiState = this.vis.getUiState();
|
||||
updateScope();
|
||||
this.el.html($compile(this.vis.type.visConfig.template)(this.$scope));
|
||||
this.$scope.$apply();
|
||||
} else {
|
||||
updateScope();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue