class LobbyController {
  constructor($location, GameService, SocketService) {
    'ngInject';

    this.game_id = GameService.game_id;
    this.password = GameService.roomName;
    this.GameService = GameService;

    this.mobileAddress = $location.host() +'/m';

    SocketService.connect().then(function(result) {
      $log.log('success');
      SocketService.createRoom(this.password);
    });
  }
}

export default LobbyController;

@@ -31,16 +31,22 @@
 tructor(
+$log, 
 $locatio
@@ -91,24 +91,46 @@
 ngInject';%0A%0A
+    this.$log = $log;%0A
     this.gam
@@ -323,24 +323,16 @@
 hen(
-function
 (result)
  %7B%0A 
@@ -327,16 +327,19 @@
 (result)
+ =%3E
  %7B%0A     
@@ -339,16 +339,21 @@
 %7B%0A      
+this.
 $log.log

Fix logging