diff --git a/static/js/directives/audiovideo.js b/static/js/directives/audiovideo.js index 89419e81..daff2b3d 100644 --- a/static/js/directives/audiovideo.js +++ b/static/js/directives/audiovideo.js @@ -28,7 +28,7 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ var controller = ['$scope', '$element', '$attrs', function($scope, $element, $attrs) { - var streams = {}; + var streams = this.streams = {}; var calls = {}; $scope.container = $element[0]; @@ -370,10 +370,6 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ }); - return { - streams: streams - }; - }]; var compile = function(tElement, tAttr) {