harbor/static/ng/resources/js/layout/details/details.controller.js

22 lines
386 B
JavaScript
Raw Normal View History

2016-04-19 19:20:07 +02:00
(function() {
'use strict';
angular
.module('harbor.details')
.controller('DetailsController', DetailsController);
function DetailsController() {
2016-04-19 19:20:07 +02:00
var vm = this;
2016-05-04 12:42:05 +02:00
vm.publicity = false;
vm.isProjectMember = false;
2016-05-04 12:42:05 +02:00
vm.togglePublicity = togglePublicity;
function togglePublicity(e) {
vm.publicity = e.publicity;
}
2016-04-19 19:20:07 +02:00
}
})();