```coffeescript
entryModule = angular.module("entertain.io.app.entry", [])

.controller 'EntryCtrl', ['$scope', '$http'
  ($scope, $http) ->
    $scope.entries = []

    socket = io()

    $scope.userAmount = 0

    $scope.yeah = ->
      socket.emit 'yeah', "foobar"
      false

    socket.on 'userAmount', (msg) ->
      $scope.userAmount = msg
      $scope.$apply()
      return

    socket.on 'yeah', (socket) ->
      console.log "OMFG"
      return

]

module.exports = entryModule.name```

Update Client-Logic (recieve feeds fromt the server)
user
```coffeescript
entryModule = angular.module("entertain.io.app.entry", [])

.controller 'EntryCtrl', ['$scope', '$http'
  ($scope, $http) ->
    $scope.entries = []

    socket = io()

    $scope.updateFeed = ->
      socket.emit 'updateFeed'
      false

    socket.on 'feedUpdate', (feeds) ->
      $scope.entries.push feeds
      $scope.$apply()
      return

]

module.exports = entryModule.name```
assistant