overleaf/services/web/public/coffee/main/project-list/left-hand-menu-promo-controller.coffee

10 lines
276 B
CoffeeScript
Raw Normal View History

define [
"base"
], (App) ->
App.controller 'LeftHandMenuPromoController', ($scope) ->
$scope.hasProjects = window.data.projects.length > 0
$scope.userHasNoSubscription = window.userHasNoSubscription
$scope.randomView = _.shuffle(["default", "dropbox", "github"])[0]