When showing contextMenu and contextSubMenu, workout if the menu will fit in the normal place (to the right of parent menu item), and adjust popup menu location when we're cramped for space
When showing contextMenu and contextSubMenu, workout if the menu will fit in the normal place (to the right of parent menu item), and adjust popup menu location when we're cramped for space

wix/angular-tree-control,wix/angular-tree-control