ianwalter/ng-context-menu — pull request #22 by gustvao (2014-08-09 15:50:08+00:00)
Title: adding feature to click inside menu and not close it

Hey, I implement a feature in a project of mine that I believe would be a good extra feature for your great module.

I wanted to use your context menu within an input and update that value before closing the menu, in other words, I wanted to be able to click the input field and keep the menu opened.

In order to use this feature you have to add data-keep-opened="class-opened" to the element containing context-menu directive.

You also need to add the class "class-opened" to the element inside the context menu that you don't want to be closed when clicked on.

working Plunkr with example:
http://plnkr.co/edit/a8QNKfxSN7p0a9SE10EC?p=preview

I hope this adds value to your great module.

Please let me know if you have any questions.
Gustavo