ToggleOutOfScope Directive calling toggleMenu function on rootScope for handling out of focus events on menu