$scope.showContext = function (event) {
if ($scope.context_menu_element) {
console.log('Reshowing context menu...');
+ $('body').trigger('click');
$($scope.context_menu_element).css({ display: 'block', top: event.pageY, left: event.pageX });
$('body').on('click.context_menu',function() {
$($scope.context_menu_element).css('display','none');
if (angular.isArray($scope.item_container)) { // we have a list of values or transforms
console.log('Showing context menu...');
+ $('body').trigger('click');
var tmpl =
'<ul class="dropdown-menu" role="menu">'+