content-viewer-actions.controller.js
390 Bytes
(function() {
'use strict';
angular
.module('angular')
.controller('ContentViewerActionsController', ContentViewerActionsController);
/** @ngInject */
function ContentViewerActionsController(noosfero) {
var vm = this;
vm.article = null;
vm.profile = null;
activate();
function activate() {
vm.profile = noosfero.currentProfile;
}
}
})();