(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() { noosfero.currentProfile.then(function(profile) { vm.profile = profile; }); } } })();