1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00
Files
browser/src/popup/app/settings/settingsController.js
2016-09-06 23:30:49 -04:00

17 lines
441 B
JavaScript

angular
.module('bit.settings')
.controller('settingsController', function ($scope, loginService, $state, syncService) {
$scope.sync = function () {
syncService.fullSync(function () {
alert('Sync done!');
});
};
$scope.logOut = function (model) {
loginService.logOut(function () {
$state.go('login');
});
};
});