(function(app) {
    app.factory('Room', function ($http) {
        return {
            getRooms : function() {
                return $http.get('/get_rooms');
            },
            getUsers : function(room){
                return $http.get('/get_users_in_room/' + room);
            },
            leaveRooms : function(wantedRoom, username){
                return $http.get('/leave_other_rooms/' + wantedRoom + '/' + username);
            },
        }
    });

})(angular.module('RoomService', []));

@@ -1,8 +1,35 @@
+/*global angular:false */%0A%0A
 (functio
@@ -482,16 +482,17 @@
        %7D
+;
 %0A    %7D);

fix jsHint on roomService