Separately apply callback before opening menu

The html of the context-menu might contain angular bindings that need to be evaluated before the menu opens.
Merge pull request #26 from hupfis/patch-1

Separately apply callback before opening menu