mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
e959529828
[web] Explicitly name angular parameters GitOrigin-RevId: 91beae68989d6c8122132b531a4338b116d87424
20 lines
574 B
JavaScript
20 lines
574 B
JavaScript
import App from '../base'
|
|
import { startFreeTrial, upgradePlan, paywallPrompt } from './account-upgrade'
|
|
|
|
App.controller('FreeTrialModalController', [
|
|
'$scope',
|
|
function ($scope) {
|
|
$scope.buttonClass = 'btn-primary'
|
|
$scope.startFreeTrial = (source, version) =>
|
|
startFreeTrial(source, version, $scope)
|
|
$scope.paywallPrompt = source => paywallPrompt(source)
|
|
},
|
|
])
|
|
|
|
App.controller('UpgradeModalController', [
|
|
'$scope',
|
|
function ($scope) {
|
|
$scope.buttonClass = 'btn-primary'
|
|
$scope.upgradePlan = source => upgradePlan(source, $scope)
|
|
},
|
|
])
|