adding priority to directive

the directive seems to need a priority or content given on a promise will not be rendered for editing