overleaf/services/web/public/coffee/main/bonus.coffee

15 lines
345 B
CoffeeScript
Raw Normal View History

define [
"base"
], (App) ->
App.controller "BonusLinksController", ($scope, $modal) ->
$scope.openLinkToUsModal = ->
$modal.open {
templateUrl: "BonusLinkToUsModal"
controller: "BonusModalController"
}
App.controller "BonusModalController", ($scope, $modalInstance)->
$scope.cancel = () ->
$modalInstance.dismiss()