overleaf/services/web/public/coffee/app/ide/file-tree/controllers/FileTreeFolderController.coffee
2014-06-21 22:20:37 +01:00

9 lines
No EOL
195 B
CoffeeScript

define [
"base"
], (App) ->
App.controller "FileTreeFolderController", ["$scope", ($scope) ->
$scope.expanded = false
$scope.toggleExpanded = () ->
$scope.expanded = !$scope.expanded
]