mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-07 17:52:15 +00:00
14 lines
520 B
JavaScript
14 lines
520 B
JavaScript
import App from '../base'
|
|
import { startFreeTrial, upgradePlan, paywallPrompt } from './account-upgrade'
|
|
|
|
App.controller('FreeTrialModalController', function ($scope) {
|
|
$scope.buttonClass = 'btn-primary'
|
|
$scope.startFreeTrial = (source, version) =>
|
|
startFreeTrial(source, version, $scope)
|
|
$scope.paywallPrompt = source => paywallPrompt(source)
|
|
})
|
|
|
|
App.controller('UpgradeModalController', function ($scope) {
|
|
$scope.buttonClass = 'btn-primary'
|
|
$scope.upgradePlan = source => upgradePlan(source, $scope)
|
|
})
|