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