old_contents: function ScreenController($rootScope, $scope, $$screenApplication, $$websocketService){
  	$scope.$on("COMMUNICATION_INITIALIZED", function(event, data){
  		// the communication is up, let's send something
  		$$websocketService.send("Hej");
  		$$websocketService.join();
  	});
  
  	$rootScope.broadcastEvent = function(eventname, args){
  		//logDebug("Broadcasting controller event: '{0}'".format(eventname));
  		$rootScope.$broadcast(eventname, args);
  		$rootScope.$digest();
  	}
  }
new_contents: function ScreenController($rootScope, $scope, $$screenApplication, $$websocketService){
  	$scope.$on("COMMUNICATION_INITIALIZED", function(event, data){
  		// the communication is up, let's send something
  		$$websocketService.send("Hej");
  		//$$websocketService.join();
  	});
  
  	$rootScope.broadcastEvent = function(eventname, args){
  		//logDebug("Broadcasting controller event: '{0}'".format(eventname));
  		$rootScope.$broadcast(eventname, args);
  		$rootScope.$digest();
  	}
  }
subject: join ud