mirror of
https://github.com/nextcloud/passman.git
synced 2024-11-14 11:57:38 +08:00
16 lines
380 B
JavaScript
16 lines
380 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* @ngdoc function
|
|
* @name passmanApp.controller:MainCtrl
|
|
* @description
|
|
* # MainCtrl
|
|
* Controller of the passmanApp
|
|
*/
|
|
angular.module('passmanApp')
|
|
.controller('MainCtrl', ['$scope', '$rootScope', function ($scope, $rootScope) {
|
|
$scope.selectedVault = false;
|
|
$rootScope.$on('app_menu', function(evt, shown){
|
|
$scope.app_sidebar = shown;
|
|
})
|
|
}]);
|