lunchControllers = angular.module 'lunchControllers' lunchControllers.controller 'RunCtrl', ['$scope', 'socket', '$routeParams', ($scope, socket, $routeParams) -> $scope.show = false socket.get '/run/' + $routeParams['id'], (response) -> $scope.show = true $scope.run = response $scope.$apply() ]