mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-18 05:06:24 -05:00
10 lines
No EOL
316 B
CoffeeScript
10 lines
No EOL
316 B
CoffeeScript
define [
|
|
"base"
|
|
], (App) ->
|
|
|
|
App.controller 'LeftHandMenuPromoController', ($scope) ->
|
|
|
|
$scope.showDatajoy = Math.random() < 0.5
|
|
$scope.hasProjects = window.data.projects.length > 0
|
|
$scope.userHasSubscription = window.userHasSubscription
|
|
$scope.randomView = _.shuffle(["default", "dropbox", "github"])[0] |