harbor/static/ng/resources/js/layout/log/log.controller.js
2016-04-29 01:36:39 +08:00

19 lines
409 B
JavaScript

(function() {
'use strict';
angular
.module('harbor.layout.log')
.controller('LogController', LogController);
LogController.$inject = ['$scope'];
function LogController($scope) {
var vm = this;
$scope.$on('currentProjectId', function(e, val) {
console.log('received currentProjecjtId: ' + val + ' in LogController');
vm.projectId = val;
});
}
})();