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

7 lines
166 B
CoffeeScript
Raw Normal View History

2014-07-08 07:02:26 -04:00
define [
"base"
], (App) ->
App.controller "ChatButtonController", ["$scope", ($scope) ->
$scope.toggleChat = () ->
$scope.ui.chatOpen = !$scope.ui.chatOpen
]