2021-01-14 10:16:54 -05:00
|
|
|
import App from '../base'
|
|
|
|
import { startFreeTrial, upgradePlan } from './account-upgrade'
|
|
|
|
|
2021-04-14 09:17:21 -04:00
|
|
|
App.controller('FreeTrialModalController', function ($scope, eventTracking) {
|
2021-01-14 10:16:54 -05:00
|
|
|
$scope.buttonClass = 'btn-primary'
|
|
|
|
$scope.startFreeTrial = (source, version) =>
|
|
|
|
startFreeTrial(source, version, $scope, eventTracking)
|
|
|
|
})
|
|
|
|
|
2021-04-14 09:17:21 -04:00
|
|
|
App.controller('UpgradeModalController', function ($scope, eventTracking) {
|
2021-01-14 10:16:54 -05:00
|
|
|
$scope.buttonClass = 'btn-primary'
|
|
|
|
$scope.upgradePlan = source => upgradePlan(source, $scope)
|
|
|
|
})
|