overleaf/services/web/public/coffee/ide/chat/controllers/ChatMessageController.coffee

7 lines
183 B
CoffeeScript
Raw Normal View History

2014-07-08 07:02:26 -04:00
define [
"base"
], (App) ->
App.controller "ChatMessageController", ["$scope", "ide", ($scope, ide) ->
$scope.hue = (user) ->
ide.onlineUsersManager.getHueForUserId(user.id)
]