overleaf/services/web/public/coffee/app/ide/file-tree/controllers/FileTreeFolderController.coffee

9 lines
195 B
CoffeeScript
Raw Normal View History

2014-06-21 17:20:37 -04:00
define [
"base"
], (App) ->
App.controller "FileTreeFolderController", ["$scope", ($scope) ->
$scope.expanded = false
$scope.toggleExpanded = () ->
$scope.expanded = !$scope.expanded
]