mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
18 lines
553 B
JavaScript
18 lines
553 B
JavaScript
angular
|
|
.module('bit.global')
|
|
|
|
.controller('premiumRequiredController', function ($scope, $state, $uibModalInstance, $analytics, $uibModalStack) {
|
|
$analytics.eventTrack('premiumRequiredController', { category: 'Modal' });
|
|
|
|
$scope.go = function () {
|
|
$analytics.eventTrack('Get Premium');
|
|
$state.go('backend.user.settingsPremium').then(function () {
|
|
$scope.close();
|
|
});
|
|
};
|
|
|
|
$scope.close = function () {
|
|
$uibModalStack.dismissAll();
|
|
};
|
|
});
|